Package org.hibernate
Class PersistentObjectException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.PersistentObjectException
-
- All Implemented Interfaces:
java.io.Serializable
public class PersistentObjectException extends HibernateException
Thrown when the user passes a persistent instance to a Session method that expects a transient instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersistentObjectException(java.lang.String message)
Constructs a PersistentObjectException using the given message.
-