Package javax.cache
Class InvalidConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.cache.CacheException
-
- javax.cache.InvalidConfigurationException
-
- All Implemented Interfaces:
Serializable
public class InvalidConfigurationException extends CacheException
An exception to report invalid configuration settings. This indicates a configuration is invalid for the cache implementation.- Since:
- 1.0 todo Have a vote on when this should: if at all and compared with IllegalArgumentException
- Author:
- Greg Luck, Yannis Cosmadopoulos
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidConfigurationException()Constructs a new InvalidConfigurationException.InvalidConfigurationException(String message)Constructs a new InvalidConfigurationException with a message string.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidConfigurationException
public InvalidConfigurationException(String message)
Constructs a new InvalidConfigurationException with a message string.- Parameters:
message- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()method.
-
InvalidConfigurationException
public InvalidConfigurationException()
Constructs a new InvalidConfigurationException.
-
-