public class PermissionException
extends java.lang.RuntimeException
Permission
from getPermission()
Constructor and Description |
---|
PermissionException(java.lang.String reason)
Creates a new PermissionException instance
|
Modifier and Type | Method and Description |
---|---|
Permission |
getPermission()
The
Permission that is required for the operation |
public PermissionException(java.lang.String reason)
reason
- The reason for this Exceptionpublic Permission getPermission()
Permission
that is required for the operation
If this is a HierarchyException
this will always be Permission.UNKNOWN
!
Permission