Class IllegalOpenParameterException

All Implemented Interfaces:
Serializable, LocalizedException
Direct Known Subclasses:
UnsupportedStorageException

public class IllegalOpenParameterException extends DataStoreException
Thrown when a DataStore cannot be opened because of invalid parameters. This may be a missing "location" parameter value, or an unsupported object given to StorageConnector constructor.
Since:
0.8
Version:
0.8
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version compatibility.
      See Also:
  • Constructor Details

    • IllegalOpenParameterException

      public IllegalOpenParameterException()
      Creates an exception with no cause and no details message.
    • IllegalOpenParameterException

      public IllegalOpenParameterException(String message)
      Creates an exception with the specified details message.
      Parameters:
      message - the detail message.
    • IllegalOpenParameterException

      public IllegalOpenParameterException(Throwable cause)
      Creates an exception with the specified cause and no details message.
      Parameters:
      cause - the cause for this exception.
    • IllegalOpenParameterException

      public IllegalOpenParameterException(String message, Throwable cause)
      Creates an exception with the specified details message and cause.
      Parameters:
      message - the detail message.
      cause - the cause for this exception.
    • IllegalOpenParameterException

      IllegalOpenParameterException(Locale locale, short key, Object... parameters)
      Creates a new exception which will format a localized message in the given locale.
      Parameters:
      locale - the locale for the message to be returned by DataStoreException.getLocalizedMessage().
      key - one of Resources.Keys constants.
      parameters - parameters to use for formatting the messages.