Package net.jini.config
Class ConfigurationNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.jini.config.ConfigurationException
net.jini.config.ConfigurationNotFoundException
- All Implemented Interfaces:
Serializable
Thrown if a configuration source location specified when creating a
Configuration is
not found, including if null is specified for provider options and the
implementation does not provide default options. If the problem results from an exception being
thrown while attempting to access a source location, that original exception can be accessed by
calling getCause. Note that any instance of Error thrown while
processing the configuration information is propagated to the caller; it is not wrapped in a
ConfigurationNotFoundException.- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance with the specified detail message.Creates an instance with the specified detail message and causing exception, which should not be an instance ofError. -
Method Summary
Methods inherited from class net.jini.config.ConfigurationException
toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ConfigurationNotFoundException
Creates an instance with the specified detail message.- Parameters:
s- the detail message
-
ConfigurationNotFoundException
Creates an instance with the specified detail message and causing exception, which should not be an instance ofError.- Parameters:
s- the detail messaget- the causing exception
-