public class HibernateException extends RuntimeException
SQLExceptions
will be wrapped in some form of
JDBCException
.JDBCException
,
Serialized FormConstructor 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, toString
public 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.