public class HibernateException
extends javax.persistence.PersistenceException
SQLExceptions will be wrapped in some form of
JDBCException.| Constructor 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.