Package org.hibernate
Class ResourceClosedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.ResourceClosedException
-
- All Implemented Interfaces:
Serializable
public class ResourceClosedException extends HibernateException
Indicates an attempt was made to use a closed resource, such as a closedSession
orSessionFactory
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceClosedException(String message)
Constructs a ResourceClosedException using the supplied message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ResourceClosedException
public ResourceClosedException(String message)
Constructs a ResourceClosedException using the supplied message.- Parameters:
message
- The message explaining the exception condition
-
-