public class UnknownResource
extends JSException
| Constructor and Description |
|---|
UnknownResource(int msgKey)
Constructs a new
UnknownResource with the specified message,
the cause is not initialized. |
UnknownResource(int msgKey,
java.lang.Object[] params,
java.lang.Throwable cause)
Constructs a new throwable with the specified detailed message and cause.
|
UnknownResource(int msgKey,
java.lang.Throwable cause)
Constructs a new
UnknownResource with the specified detailed
message and cause. |
UnknownResource(java.lang.String resoruceName)
Constructs a new
UnknownResource with the specified message as
its detailed message. |
UnknownResource(java.lang.Throwable cause)
Constructs a new
UnknownResource with the specified cause and a
null |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Gets message of unknown resource.
|
public UnknownResource(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 UnknownResource(int msgKey,
java.lang.Throwable cause)
UnknownResource with the specified detailed
message and cause.msgKey - the message key.cause - the cause. A null is permitted, and it
indicates the cause is nonexistent or unknown.public UnknownResource(int msgKey)
UnknownResource with the specified message,
the cause is not initialized.msgKey - the message key.public UnknownResource(java.lang.Throwable cause)
UnknownResource with the specified cause and a
null message.cause - the cause.public UnknownResource(java.lang.String resoruceName)
UnknownResource with the specified message as
its detailed message. The cause is not initialized.resourceName, - the name of the resource.