public class AccessFailedException extends ReflectionException
AccessFailedException is thrown if a reflective call failed because
the executing code does NOT have access to the according definition. Unlike IllegalAccessException
this is a RuntimeException.| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE_CODE |
private static long |
serialVersionUID |
KEY_ACCESSIBLE| Modifier | Constructor and Description |
|---|---|
private |
AccessFailedException(Object object,
Throwable nested) |
|
AccessFailedException(Throwable nested,
AccessibleObject accessible)
The constructor.
|
|
AccessFailedException(Throwable nested,
Type type)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMessageprivate static final long serialVersionUID
public static final String MESSAGE_CODE
getCode(),
Constant Field Valuespublic AccessFailedException(Throwable nested, AccessibleObject accessible)
nested - is the cause of this exception.accessible - is the AccessibleObject ( Field,
Method or Constructor) that could NOT be
accessed.public String getCode()
Copyright © 2001–2019 mmm-Team. All rights reserved.