| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.lang.RuntimeException | ||||
| ↳ | java.lang.SecurityException | ||||
| ↳ | java.security.AccessControlException | ||||
AccessControlException is thrown if the access control infrastructure
denies protected access due to missing permissions.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of
AccessControlException with the
given message. | |||||||||||
Constructs a new instance of
AccessControlException with the
given message and the requested Permission which was not granted. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the requested permission that caused this Exception or
null if there is no corresponding Permission. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs a new instance of AccessControlException with the
given message.
| message | the detail message for this exception. |
|---|
Constructs a new instance of AccessControlException with the
given message and the requested Permission which was not granted.
| message | the detail message for the exception. |
|---|---|
| perm | the requested Permission which was not granted.
|
Returns the requested permission that caused this Exception or null if there is no corresponding Permission.
null.