public final class RejectedAccessException extends SecurityException
| Constructor and Description |
|---|
RejectedAccessException(String message)
Rejects access to something which the current
StaticWhitelist format could not describe. |
RejectedAccessException(String type,
String details)
Rejects access to a well-described script element.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSignature()
Gets the signature of the member to which access was rejected.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RejectedAccessException(String type, String details)
type - e.g. fielddetails - e.g. some.Class fieldNamepublic RejectedAccessException(String message)
StaticWhitelist format could not describe.message - a descriptive message in no particular format@CheckForNull public String getSignature()
StaticWhitelist, or null in case something was rejected for which a known exemption is not availableCopyright © 2004-2014. All Rights Reserved.