Package org.hibernate

Class HibernateException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
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.

See Also:
  • Constructor Details

    • HibernateException

      public HibernateException(Throwable root)
    • HibernateException

      public HibernateException(String string, Throwable root)
    • HibernateException

      public HibernateException(String s)