jet.server.api.exception
Class UnknownResource

java.lang.Object
  extended by JSException
      extended by jet.server.api.exception.UnknownResource

public class UnknownResource
extends JSException

Unknown Resource Exception


Constructor Summary
UnknownResource(int msgKey)
          Construct a new UnknownResource with 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 detail message and cause.
UnknownResource(int msgKey, java.lang.Throwable cause)
          Construct a new UnknownResource with specified detail message and cause.
UnknownResource(java.lang.String resoruceName)
          Construct a new UnknownResource with specified message as its detail message.
UnknownResource(java.lang.Throwable cause)
          Construct a new UnknownResource with specified cause and a null detail message.
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnknownResource

public UnknownResource(int msgKey,
                       java.lang.Object[] params,
                       java.lang.Throwable cause)
Constructs a new throwable with the specified detail message and cause.

Parameters:
msgKey - the message key in strJError, for find the message, and will be loged and showed to user.
params - the parameters used for format the message string, can be null.
cause - the cause (which is saved for later retrieval by the getCause.

UnknownResource

public UnknownResource(int msgKey,
                       java.lang.Throwable cause)
Construct a new UnknownResource with specified detail message and cause.

Parameters:
msgKey - the message key
cause - the cause. A null is permitted, and it indicates the cause is nonexistent or unknown.

UnknownResource

public UnknownResource(int msgKey)
Construct a new UnknownResource with specified message, the cause is not initialized.

Parameters:
msgKey - the message key

UnknownResource

public UnknownResource(java.lang.Throwable cause)
Construct a new UnknownResource with specified cause and a null detail message.

Parameters:
cause - the cause.

UnknownResource

public UnknownResource(java.lang.String resoruceName)
Construct a new UnknownResource with specified message as its detail message. The cause is not initialized.

Method Detail

getMessage

public java.lang.String getMessage()