javax.cache
Class InvalidConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.cache.CacheException
                  extended by 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
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 the Throwable.getMessage() method.

InvalidConfigurationException

public InvalidConfigurationException()
Constructs a new InvalidConfigurationException.



Copyright © 2012. All Rights Reserved.