|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJSException
jet.server.api.exception.NoPrivilegeException
public class NoPrivilegeException
Indicate an exception occurs, this exception will occur once a user require any action without corresponding privilege or user does not exist.
| Constructor Summary | |
|---|---|
NoPrivilegeException(int msgKey)
Construct a new NoPrivilegeException with specified
message, the cause is not initialized. |
|
NoPrivilegeException(int msgKey,
java.lang.Object[] params,
java.lang.Throwable cause)
Constructs a new throwable with the specified detail message and cause. |
|
NoPrivilegeException(int msgKey,
java.lang.Throwable cause)
Construct a new NoPrivilegeException with specified detail
message and cause. |
|
NoPrivilegeException(java.lang.String msg)
Construct a new NoPrivilegeException with the message. |
|
NoPrivilegeException(java.lang.String message,
java.lang.Object[] params,
java.lang.Throwable cause)
|
|
NoPrivilegeException(java.lang.String msg,
java.lang.Throwable originalThrowable)
Construct a new RptServerException with the message and the original Throwable object. |
|
NoPrivilegeException(java.lang.Throwable cause)
Construct a new NoPrivilegeException with specified cause
and a null |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getOriginalThrowable()
Get the original Throwable object. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NoPrivilegeException(int msgKey,
java.lang.Object[] params,
java.lang.Throwable cause)
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.
public NoPrivilegeException(int msgKey,
java.lang.Throwable cause)
NoPrivilegeException with specified detail
message and cause.
msgKey - the message keycause - the cause. A null is permitted, and it
indicates the cause is nonexistent or unknown.public NoPrivilegeException(int msgKey)
NoPrivilegeException with specified
message, the cause is not initialized.
msgKey - the message keypublic NoPrivilegeException(java.lang.Throwable cause)
NoPrivilegeException with specified cause
and a null detail message.
- Parameters:
cause - the cause.
public NoPrivilegeException(java.lang.String message,
java.lang.Object[] params,
java.lang.Throwable cause)
public NoPrivilegeException(java.lang.String msg)
msg - the detailed message
public NoPrivilegeException(java.lang.String msg,
java.lang.Throwable originalThrowable)
msg - the detailed messageoriginalThrowable - the original Throwable object.| Method Detail |
|---|
public java.lang.Throwable getOriginalThrowable()
public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||