public class HibernateException
extends java.lang.RuntimeException
SQLExceptions
will be wrapped in some form of
JDBCException
.JDBCException
,
Serialized FormConstructor and 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.
|
public HibernateException(java.lang.String message)
message
- The message explaining the reason for the exceptionpublic HibernateException(java.lang.Throwable cause)
cause
- The underlying cause.public HibernateException(java.lang.String message, java.lang.Throwable cause)
message
- The message explaining the reason for the exception.cause
- The underlying cause.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.