|
Build 1.0_r1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.SecurityException
java.security.AccessControlException
public class AccessControlException
This runtime exception is thrown when an access control check indicates that access should not be granted.
| Constructor Summary | |
|---|---|
AccessControlException(String message)
Constructs a new instance of this class with its walkback and message filled in. |
|
AccessControlException(String message,
Permission perm)
Constructs a new instance of this class with its walkback, message and associated permission all filled in. |
|
| Method Summary | |
|---|---|
Permission |
getPermission()
Returns the receiver's permission. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AccessControlException(String message)
message - String The detail message for the exception.
public AccessControlException(String message,
Permission perm)
message - String The detail message for the exception.perm - Permission The failed permission.| Method Detail |
|---|
public Permission getPermission()
|
Build 1.0_r1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||