public class

SessionException

extends HibernateException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.hibernate.HibernateException
           ↳ org.hibernate.SessionException

Class Overview

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

Summary

Public Constructors
SessionException(String message)
Constructs a new SessionException with the given message.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public SessionException (String message)

Constructs a new SessionException with the given message.

Parameters
message The message indicating the specific problem.