public class SessionException extends HibernateException
Thrown when the user calls a method of a Session that is in an inappropriate state for the given call (for
example, the the session is closed or disconnected).
| Constructor and Description |
|---|
SessionException(String message)
Constructs a new SessionException with the given message.
|
SessionException(String message,
Throwable cause)
Constructs a new SessionException with the given message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SessionException(String message)
Constructs a new SessionException with the given message.
message - The message indicating the specific problem.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.