public class WsRuntimeFwException extends WsException
WsRuntimeFwException
and its subclasses are conditions that
the runtime framework might want to catch.
Note: Since the Application Server only supports JDK 1.4 and newer JDKs,
new exceptions should extend java.lang.Exception
which supports
exception chaining.
Constructor and Description |
---|
WsRuntimeFwException()
Constructs a new
WsRuntimeFwException with
null as its detail message. |
WsRuntimeFwException(java.lang.String s)
Constructs a new
WsRuntimeFwException with the specified
detail message. |
WsRuntimeFwException(java.lang.String s,
java.lang.Throwable t)
Constructs a new
WsRuntimeFwException with the specified
detail message and cause. |
WsRuntimeFwException(java.lang.Throwable t)
Constructs a new
WsRuntimeFwException with the specified
cause and a detail message of
(cause==null ? |
getCause, initCause
public WsRuntimeFwException()
WsRuntimeFwException
with
null
as its detail message. The cause is not initialized,
and may subsequently be initialized by a call to WsException.initCause(java.lang.Throwable)
public WsRuntimeFwException(java.lang.String s)
WsRuntimeFwException
with the specified
detail message. The cause is not initialized, and may subsequently be
initialized by a call to WsException.initCause(java.lang.Throwable)
s
- the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage()
method.public WsRuntimeFwException(java.lang.Throwable t)
WsRuntimeFwException
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.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 WsRuntimeFwException(java.lang.String s, java.lang.Throwable t)
WsRuntimeFwException
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.
s
- 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.)