public class ConfigurationException extends Exception
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
.Configuration
,
ConfigurationProvider
,
Serialized FormConstructor and Description |
---|
ConfigurationException(String s)
Creates an instance with the specified detail message.
|
ConfigurationException(String s,
Throwable t)
Creates an instance with the specified detail message and causing exception, which should not
be an instance of
Error . |
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a short description of this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ConfigurationException(String s)
s
- the detail messagepublic String toString()
getMessage
method for
this object, if the result is not null
; and the result of calling
toString
on the causing exception, if that exception is not null
.Copyright © GigaSpaces.