public class HibernateException extends RuntimeException
SQLExceptions will be wrapped in some form of
JDBCException.JDBCException,
Serialized Form| 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)
message - The message explaining the reason for the exceptionpublic HibernateException(Throwable cause)
cause - The underlying cause.Copyright © 2017 JBoss by Red Hat. All rights reserved.