Package org.hibernate

Class 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.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • 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 condition
        cause - The underlying cause.