Package org.hibernate

Class HibernateException

    • Constructor Summary

      Constructors 
      Constructor Description
      HibernateException​(java.lang.String message)
      Constructs a HibernateException using the given exception message.
      HibernateException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a HibernateException using the given message and underlying cause.
      HibernateException​(java.lang.Throwable cause)
      Constructs a HibernateException using the given message and underlying 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

      • HibernateException

        public HibernateException​(java.lang.String message)
        Constructs a HibernateException using the given exception message.
        Parameters:
        message - The message explaining the reason for the exception
      • HibernateException

        public HibernateException​(java.lang.Throwable cause)
        Constructs a HibernateException using the given message and underlying cause.
        Parameters:
        cause - The underlying cause.
      • HibernateException

        public HibernateException​(java.lang.String message,
                                  java.lang.Throwable cause)
        Constructs a HibernateException using the given message and underlying cause.
        Parameters:
        message - The message explaining the reason for the exception.
        cause - The underlying cause.