java.security
public
class
java.security.AccessControlException
This runtime exception is thrown when an access control check indicates that
access should not be granted.
Summary
Public Constructors
Public Methods
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
AccessControlException(String message)
Constructs a new instance of this class with its walkback and message
filled in.
Parameters
message
| String The detail message for the exception.
|
public
AccessControlException(String message, Permission perm)
Constructs a new instance of this class with its walkback, message and
associated permission all filled in.
Parameters
message
| String The detail message for the exception. |
perm
| Permission The failed permission.
|
Public Methods
public
Permission
getPermission()
Returns the receiver's permission.
Returns
- Permission the receiver's permission