Package com.tangosol.net.security
Class PermissionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.SecurityException
com.tangosol.net.security.PermissionException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs anAccessControlExceptionwith the specified, detailed message.Constructs anAccessControlExceptionwith the specified, detailed message, and the requested permission that caused the exception. -
Method Summary
Modifier and TypeMethodDescriptionGets thePermissionobject associated with this exception, ornullif there was no correspondingPermissionobject.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PermissionException
Constructs anAccessControlExceptionwith the specified, detailed message.- Parameters:
s- the detail message.
-
PermissionException
Constructs anAccessControlExceptionwith the specified, detailed message, and the requested permission that caused the exception.- Parameters:
s- the detail message.p- the permission that caused the exception.
-
-
Method Details
-
getPermission
Gets thePermissionobject associated with this exception, ornullif there was no correspondingPermissionobject.- Returns:
- the Permission object.
-