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.
|
RejectedAccessException(String type,
String details,
String info)
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)
StaticWhitelist.rejectMethod(java.lang.reflect.Method) or similar.type - e.g. fielddetails - e.g. some.Class fieldNamepublic RejectedAccessException(String type, String details, String info)
StaticWhitelist.rejectMethod(java.lang.reflect.Method) or similar.type - e.g. fielddetails - e.g. some.Class fieldNameinfo - some additional information if appropriatepublic 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 © 2015. All rights reserved.