public class RuntimeWarning extends WsRuntimeFwException
RuntimeWarning
is used to signal to the runtime
framework that a non-fatal error has been encountered. Server startup will
proceed as usual.com.ibm.wsspi.runtime.component.WsComponent#start()
,
Serialized FormConstructor and Description |
---|
RuntimeWarning(java.lang.String msg)
Constructs a new
RuntimeWarning with the specified
detail message. |
RuntimeWarning(java.lang.String msg,
java.lang.Throwable t)
Constructs a new
RuntimeWarning with the specified
detail message and cause. |
RuntimeWarning(java.lang.Throwable t)
Constructs a new
RuntimeWarning with the specified cause
a message which typically contains the class and detail message of
cause . |
getCause, initCause
public RuntimeWarning(java.lang.String msg)
RuntimeWarning
with the specified
detail message. The cause is not initialized, and may subsequently be
initialized by a call to WsException.initCause(java.lang.Throwable)
msg
- the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage()
method.public RuntimeWarning(java.lang.Throwable t)
RuntimeWarning
with the specified cause
a message 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.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.)public RuntimeWarning(java.lang.String msg, java.lang.Throwable t)
RuntimeWarning
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.
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.)