Package org.hibernate
Class HibernateError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.HibernateError
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
WalkingException
public class HibernateError extends HibernateException
Marks a group of exceptions that generally indicate an internal Hibernate error or bug.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HibernateError(java.lang.String message)
Constructs HibernateError with the condition message.HibernateError(java.lang.String message, java.lang.Throwable cause)
Constructs HibernateError with the condition message and cause.
-
-
-
Constructor Detail
-
HibernateError
public HibernateError(java.lang.String message)
Constructs HibernateError with the condition message.- Parameters:
message
- Message explaining the exception/error condition
-
HibernateError
public HibernateError(java.lang.String message, java.lang.Throwable cause)
Constructs HibernateError with the condition message and cause.- Parameters:
message
- Message explaining the exception/error conditioncause
- The underlying cause.
-
-