Package org.hibernate.exception
Class AuthException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.JDBCException
org.hibernate.exception.AuthException
- All Implemented Interfaces:
Serializable
A
JDBCException
indicating an authentication or authorization failure.- Since:
- 7.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthException
(String message, SQLException root) Constructor for AuthException.AuthException
(String message, SQLException root, String sql) Constructor for AuthException. -
Method Summary
Methods inherited from class org.hibernate.JDBCException
getErrorCode, getErrorMessage, getSQL, getSQLException, getSQLState
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthException
Constructor for AuthException.- Parameters:
root
- The underlying exception.
-
AuthException
Constructor for AuthException.- Parameters:
message
- Optional message.root
- The underlying exception.
-