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 anAccessControlException
with the specified, detailed message.Constructs anAccessControlException
with the specified, detailed message, and the requested permission that caused the exception. -
Method Summary
Modifier and TypeMethodDescriptionGets thePermission
object associated with this exception, ornull
if there was no correspondingPermission
object.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PermissionException
Constructs anAccessControlException
with the specified, detailed message.- Parameters:
s
- the detail message.
-
PermissionException
Constructs anAccessControlException
with 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 thePermission
object associated with this exception, ornull
if there was no correspondingPermission
object.- Returns:
- the Permission object.
-