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
Indicates an attempt was made to use a closed resource, such as
a closed
Session
or SessionFactory
.- See Also:
-
Constructor Summary
ConstructorDescriptionResourceClosedException
(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 Details
-
ResourceClosedException
Constructs a ResourceClosedException using the supplied message.- Parameters:
message
- The message explaining the exception condition
-