Top Description Constructors
org.hibernate

public Class SessionException

extends HibernateException
Class Inheritance

Thrown when the user calls a method of a Session that is in an inappropriate state for the given call (for example, the session is closed or disconnected).
Author
Gavin King

Constructor Summary

AccessConstructor and Description
public
SessionException(String
The message indicating the specific problem.
message
)

Constructs a new SessionException with the given message.

public
SessionException(String
The message indicating the specific problem.
message
,
Throwable
An exception which caused this exception to be created.
cause
)

Constructs a new SessionException with the given message.

Constructor Detail

SessionExceptionback to summary
public SessionException(String message)

Constructs a new SessionException with the given message.

Parameters
message:String

The message indicating the specific problem.

SessionExceptionback to summary
public SessionException(String message, Throwable cause)

Constructs a new SessionException with the given message.

Parameters
message:String

The message indicating the specific problem.

cause:Throwable

An exception which caused this exception to be created.