public class HibernateException extends PersistenceException
The base exception type for Hibernate exceptions.
<p/>
Note that all SQLExceptions will be wrapped in some form of
JDBCException.
| Constructor and Description |
|---|
HibernateException(String message)
Constructs a HibernateException using the given exception message.
|
HibernateException(String message,
Throwable cause)
Constructs a HibernateException using the given message and underlying cause.
|
HibernateException(Throwable cause)
Constructs a HibernateException using the given message and underlying cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HibernateException(String message)
Constructs a HibernateException using the given exception message.
message - The message explaining the reason for the exceptionpublic HibernateException(Throwable cause)
Constructs a HibernateException using the given message and underlying cause.
cause - The underlying cause.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.