| Access | Constructor and Description |
|---|---|
| public | InstantiationException(String
A message explaining the exception condition message, Class<T> The Class we are attempting to instantiate clazz, Throwable The underlying exception cause)Constructs a InstantiationException. |
| public | InstantiationException(String
A message explaining the exception condition message, Class<T> The Class we are attempting to instantiate clazz)Constructs a InstantiationException. |
| public | InstantiationException(String
A message explaining the exception condition message, Class<T> The Class we are attempting to instantiate clazz, Exception The underlying exception cause)Constructs a InstantiationException. |
| Modifier and Type | Method and Description |
|---|---|
| public String | getMessage()
Overrides java. |
| public Class | Returns: The class we are unable to instantiate
Deprecated
Use
Returns the Class we were attempting to instantiate.
getUninstantiatableClass instead
|
| public Class | Returns: The class we are unable to instantiateReturns the Class we were attempting to instantiate. |
| clazz | back to summary |
|---|---|
| private final Class<T> clazz | |
| InstantiationException | back to summary |
|---|---|
| public InstantiationException(String message, Class<T> clazz, Throwable cause) Constructs a InstantiationException. | |
| InstantiationException | back to summary |
|---|---|
| public InstantiationException(String message, Class<T> clazz) Constructs a InstantiationException. | |
| InstantiationException | back to summary |
|---|---|
| public InstantiationException(String message, Class<T> clazz, Exception cause) Constructs a InstantiationException. | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Doc from java. Returns the detail message string of this throwable. | |
| getPersistentClass | back to summary |
|---|---|
| public Class Deprecated Use Returns the Class we were attempting to instantiate.
| |
| getUninstantiatableClass | back to summary |
|---|---|
| public Class Returns the Class we were attempting to instantiate.
| |