Package net.jini.config
Class ConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.jini.config.ConfigurationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConfigurationNotFoundException,NoSuchEntryException
Thrown if a problem occurs when obtaining configuration information. If the problem results from
an exception being thrown while processing the configuration information, 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 ConfigurationException.- 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 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ConfigurationException
Creates an instance with the specified detail message.- Parameters:
s- the detail message
-
ConfigurationException
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
-
-
Method Details
-
toString
Returns a short description of this exception. The result includes the name of the actual class of this object; the result of calling thegetMessagemethod for this object, if the result is notnull; and the result of callingtoStringon the causing exception, if that exception is notnull.
-