public class SessionException extends HibernateException
Session
that is in an inappropriate state for the given call (for
example, the the session is closed or disconnected).Constructor and Description |
---|
SessionException(java.lang.String message)
Constructs a new SessionException with the given message.
|
SessionException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new SessionException with the given message.
|
public SessionException(java.lang.String message)
message
- The message indicating the specific problem.public SessionException(java.lang.String message, java.lang.Throwable cause)
message
- The message indicating the specific problem.cause
- An exception which caused this exception to be created.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.