public class RptServerException
extends JSException
Constructor and Description |
---|
RptServerException(int msgKey)
Constructs a new
RptServerException with the specified message,
the cause is not initialized. |
RptServerException(int msgKey,
java.lang.Object[] params,
java.lang.Throwable cause)
Constructs a new throwable with the specified detailed message and cause.
|
RptServerException(int msgKey,
java.lang.Throwable cause)
Constructs a new
RptServerException with the specified detailed
message and cause. |
RptServerException(java.lang.String msg)
Constructs a new RptServerException with the message.
|
RptServerException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a new RptServerException with the message and the original
Throwable object.
|
RptServerException(java.lang.String msg,
java.lang.Throwable cause,
java.util.List engineErrors)
Constructs a new
RptServerException with the message, the original
Throwable object and engine errors. |
RptServerException(java.lang.Throwable cause)
Constructs a new
RptServerException with the specified cause
and a null |
RptServerException(java.lang.Throwable cause,
java.util.List engineErrors)
Constructs a new
RptServerException with the specified cause
and engine errors. |
Modifier and Type | Method and Description |
---|---|
java.util.List |
getEngineErrors()
Gets the under engine's Errors.
|
java.lang.Throwable |
getOriginalThrowable()
Deprecated.
This method has been alternated by getCause() since JDK1.4
|
java.lang.String |
toString()
Returns this object string information.
|
public RptServerException(int msgKey, java.lang.Object[] params, java.lang.Throwable cause)
msgKey
- the message key in strJError, for finding the message, and which will
be logged and shown to user.params
- the parameters used for formatting the message string, which can be
null.cause
- the cause which is saved for later retrieval by the getCause.public RptServerException(int msgKey, java.lang.Throwable cause)
RptServerException
with the specified detailed
message and cause.msgKey
- the message keycause
- the cause. A null
is permitted, and it
indicates the cause is nonexistent or unknown.public RptServerException(int msgKey)
RptServerException
with the specified message,
the cause is not initialized.msgKey
- the message keypublic RptServerException(java.lang.Throwable cause)
RptServerException
with the specified cause
and a null message.
cause
- the cause.public RptServerException(java.lang.Throwable cause, java.util.List engineErrors)
RptServerException
with the specified cause
and engine errors.cause
- the cause.enginErrors
- the engine errorspublic RptServerException(java.lang.String msg)
msg
- the detailed messagepublic RptServerException(java.lang.String msg, java.lang.Throwable cause)
msg
- the detailed messagecause
- the original Throwable object.public RptServerException(java.lang.String msg, java.lang.Throwable cause, java.util.List engineErrors)
RptServerException
with the message, the original
Throwable object and engine errors.msg
- the detailed messagecause
- the cause.enginErrors
- the engine errorspublic java.lang.String toString()
public java.lang.Throwable getOriginalThrowable()
public java.util.List getEngineErrors()