public class InstantiationFailedException extends ReflectionException
InstantiationFailedException indicates that the instantiation of a
Class failed for arbitrary reasons. Unlike InstantiationException this is a
RuntimeException.| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE_CODE |
private static long |
serialVersionUID |
KEY_ACCESSIBLE| Constructor and Description |
|---|
InstantiationFailedException(Throwable nested,
Type type)
The constructor.
|
InstantiationFailedException(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 InstantiationFailedException(Type type)
type - is the Class that could NOT be instantiated.public InstantiationFailedException(Throwable nested, Type type)
nested - is the cause of this exception.type - is the Class that could NOT be instantiated.public String getCode()
Copyright © 2001–2019 mmm-Team. All rights reserved.