|
JCC v0.9.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--jain.application.services.jcp.PrivilegeViolationException
This exception indicates that an action pertaining to a certain object failed because the application did not have the proper security permissions to execute that command.
This class stores the type of privilege not available which is obtained via the getType()
method in this class.
Field Summary | |
static int |
DESTINATION_VIOLATION
A privilege violation occurred at the destination. |
static int |
ORIGINATOR_VIOLATION
A privilege violation occurred at the origination. |
static int |
UNKNOWN_VIOLATION
A privilege violation occurred at an unknown place. |
Constructor Summary | |
PrivilegeViolationException(int type)
Constructor takes no string. |
|
PrivilegeViolationException(int type,
java.lang.String s)
Constructor takes a string. |
Method Summary | |
int |
getType()
Returns the type of privilege which is not available. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int ORIGINATOR_VIOLATION
public static final int DESTINATION_VIOLATION
public static final int UNKNOWN_VIOLATION
Constructor Detail |
public PrivilegeViolationException(int type)
type
- kind of violation.public PrivilegeViolationException(int type, java.lang.String s)
type
- kind of violation.s
- description of the violation.Method Detail |
public int getType()
|
JCC v0.9.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |