Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate
Class InstantiationException  view InstantiationException download InstantiationException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.hibernate.exception.NestableRuntimeException
                  extended byorg.hibernate.HibernateException
                      extended byorg.hibernate.InstantiationException
All Implemented Interfaces:
org.hibernate.exception.Nestable, java.io.Serializable

public class InstantiationException
extends HibernateException

Thrown if Hibernate can't instantiate an entity or component class at runtime.


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.Class clazz
           
 
Fields inherited from class org.hibernate.exception.NestableRuntimeException
delegate
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
InstantiationException(java.lang.String s, java.lang.Class clazz)
           
InstantiationException(java.lang.String s, java.lang.Class clazz, java.lang.Exception e)
           
InstantiationException(java.lang.String s, java.lang.Class clazz, java.lang.Throwable root)
           
 
Method Summary
 java.lang.String getMessage()
          Returns the detail message string of this throwable.
 java.lang.Class getPersistentClass()
           
 
Methods inherited from class org.hibernate.exception.NestableRuntimeException
getCause, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

clazz

private final java.lang.Class clazz
Constructor Detail

InstantiationException

public InstantiationException(java.lang.String s,
                              java.lang.Class clazz,
                              java.lang.Throwable root)

InstantiationException

public InstantiationException(java.lang.String s,
                              java.lang.Class clazz)

InstantiationException

public InstantiationException(java.lang.String s,
                              java.lang.Class clazz,
                              java.lang.Exception e)
Method Detail

getPersistentClass

public java.lang.Class getPersistentClass()

getMessage

public java.lang.String getMessage()
Description copied from class: org.hibernate.exception.NestableRuntimeException
Returns the detail message string of this throwable. If it was created with a null message, returns the following: ( cause==null ? null : cause.toString( ).