org.hibernate
Class HibernateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.hibernate.HibernateException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuditException, BatchFailedException, CacheException, CallbackException, IdentifierGenerationException, InstantiationException, JDBCException, LazyInitializationException, MappingException, MultipleBagFetchException, NonUniqueObjectException, NonUniqueResultException, NullSynchronizationException, OptimisticLockException, PersistentObjectException, PropertyAccessException, PropertyValueException, QueryException, SerializationException, SessionException, StaleStateException, TooManyRowsAffectedException, TransactionException, TransientObjectException, TypeMismatchException, UnknownProfileException, UnresolvableObjectException, ValidationFailure, WrongClassException

public class HibernateException
extends RuntimeException

The base Throwable type for Hibernate.

Note that all SQLExceptions will be wrapped in some form of JDBCException.

Author:
Gavin King
See Also:
JDBCException, Serialized Form

Constructor Summary
HibernateException(String s)
           
HibernateException(String string, Throwable root)
           
HibernateException(Throwable root)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HibernateException

public HibernateException(Throwable root)

HibernateException

public HibernateException(String string,
                          Throwable root)

HibernateException

public HibernateException(String s)


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.