Package org.hibernate
Class TransientObjectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.TransientObjectException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TransientPropertyValueException
Thrown when the user passes a transient instance to a
Session
method that expects a persistent instance.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransientObjectException
(String message) Constructs aTransientObjectException
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
-
TransientObjectException
Constructs aTransientObjectException
using the supplied message.- Parameters:
message
- The message explaining the exception condition
-