public class InstantiationException extends HibernateException
| Constructor and Description |
|---|
InstantiationException(java.lang.String message,
java.lang.Class clazz)
Constructs a InstantiationException.
|
InstantiationException(java.lang.String message,
java.lang.Class clazz,
java.lang.Exception cause)
Constructs a InstantiationException.
|
InstantiationException(java.lang.String message,
java.lang.Class clazz,
java.lang.Throwable cause)
Constructs a InstantiationException.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage() |
java.lang.Class |
getPersistentClass()
Deprecated.
Use
getUninstantiatableClass() instead |
java.lang.Class |
getUninstantiatableClass()
Returns the Class we were attempting to instantiate.
|
public InstantiationException(java.lang.String message,
java.lang.Class clazz,
java.lang.Throwable cause)
message - A message explaining the exception conditionclazz - The Class we are attempting to instantiatecause - The underlying exceptionpublic InstantiationException(java.lang.String message,
java.lang.Class clazz)
message - A message explaining the exception conditionclazz - The Class we are attempting to instantiatepublic InstantiationException(java.lang.String message,
java.lang.Class clazz,
java.lang.Exception cause)
message - A message explaining the exception conditionclazz - The Class we are attempting to instantiatecause - The underlying exception@Deprecated public java.lang.Class getPersistentClass()
getUninstantiatableClass() insteadpublic java.lang.Class getUninstantiatableClass()
public java.lang.String getMessage()
getMessage in class java.lang.ThrowableCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.