Package org.hibernate
Class ObjectDeletedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.UnresolvableObjectException
-
- org.hibernate.ObjectDeletedException
-
- All Implemented Interfaces:
java.io.Serializable
public class ObjectDeletedException extends UnresolvableObjectException
Thrown when the user tries to do something illegal with a deleted object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectDeletedException(java.lang.String message, java.io.Serializable identifier, java.lang.String entityName)
Constructs an ObjectDeletedException using the given information.
-
Method Summary
-
Methods inherited from class org.hibernate.UnresolvableObjectException
getEntityName, getIdentifier, getMessage, throwIfNull
-
-
-
-
Constructor Detail
-
ObjectDeletedException
public ObjectDeletedException(java.lang.String message, java.io.Serializable identifier, java.lang.String entityName)
Constructs an ObjectDeletedException using the given information.- Parameters:
message
- A message explaining the exception conditionidentifier
- The identifier of the entityentityName
- The name of the entity
-
-