com.ibm.ws.exception
Class ConfigurationError
- java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.ws.exception.WsException
com.ibm.ws.exception.WsRuntimeFwException
com.ibm.ws.exception.ConfigurationError
All implemented interfaces:
com.ibm.ws.exception.WsNestedException, java.io.Serializable
- public class ConfigurationError
- extends WsRuntimeFwException
ConfigurationError
is used to signal to the runtime
framework that a serious initialization error has occurred. The
server will shut down immediately.
See Also:
WsComponent.initialize(Object)
,
Serialized FormConstructor Summary
Constructor and Description |
---|
ConfigurationError(java.lang.String msg)
Constructs a new
ConfigurationError with the specified
detail message.
|
ConfigurationError(java.lang.String msg,java.lang.Throwable t)
Constructs a new
ConfigurationError with the specified
detail message and cause.
|
ConfigurationError(java.lang.Throwable t)
Constructs a new
ConfigurationError with the specified
cause and a detail message of
(cause==null ?
|
Method Summary
Methods inherited from class com.ibm.ws.exception.WsException |
---|
getCause, initCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
ConfigurationError
- public ConfigurationError(java.lang.String msg)
Parameters:
msg
- the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage()
method. ConfigurationError
- public ConfigurationError(java.lang.Throwable t)
Constructs a new
ConfigurationError
with the specified
cause and a detail message of
(cause==null ? null : cause.toString())
(which typically
contains the class and detail message of cause
).
This constructor is useful for exceptions that are little more than
wrappers for other throwables.
Parameters:
t
- the cause (which is saved for later retrieval by the
WsException.getCause()
method). (A null
value is
permitted, and indicates that the cause is nonexistent or
unknown.) ConfigurationError
- public ConfigurationError(java.lang.String msg,
- java.lang.Throwable t)
Constructs a new
ConfigurationError
with the specified
detail message and cause. Note that the detail message associated
with cause
is not automatically incorporated in
this exception's detail message.
Parameters:
msg
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method). t
- the cause (which is saved for later retrieval by the
WsException.getCause()
method). (A null
value is
permitted, and indicates that the cause is nonexistent or
unknown.)
ConfigurationError
with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toWsException.initCause(java.lang.Throwable)