jet.server.api.exception
Class NoSuchRoleException

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

public class NoSuchRoleException
extends JSException

no such role Exception


Constructor Summary
NoSuchRoleException(int msgKey)
          Construct a new NoSuchRoleException with specified message, the cause is not initialized.
NoSuchRoleException(int msgKey, java.lang.Object[] params, java.lang.Throwable cause)
          Constructs a new throwable with the specified detail message and cause.
NoSuchRoleException(int msgKey, java.lang.Throwable cause)
          Construct a new NoSuchRoleException with specified detail message and cause.
NoSuchRoleException(java.lang.String message)
          Construct a new NoSuchRoleException with specified cause and a null detail message.
NoSuchRoleException(java.lang.Throwable cause)
          Construct a new NoSuchRoleException with specified cause and a null detail message.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoSuchRoleException

public NoSuchRoleException(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.

NoSuchRoleException

public NoSuchRoleException(int msgKey,
                           java.lang.Throwable cause)
Construct a new NoSuchRoleException 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.

NoSuchRoleException

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

Parameters:
msgKey - the message key

NoSuchRoleException

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

Parameters:
cause - the cause.

NoSuchRoleException

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

Parameters:
message - the message.