Package org.hibernate
Class ObjectDeletedException
- All Implemented Interfaces:
Serializable
public classObjectDeletedExceptionextendsUnresolvableObjectException
Thrown when the user tries to do something illegal with a deleted object.- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description ObjectDeletedException(String message,Object identifier,String entityName)Constructs anObjectDeletedExceptionusing the given information.
Method Summary
Methods inherited from class org.hibernate.UnresolvableObjectException
getEntityName,getIdentifier,getMessage,throwIfNull
Methods inherited from class java.lang.Throwable
addSuppressed,fillInStackTrace,getCause,getLocalizedMessage,getStackTrace,getSuppressed,initCause,printStackTrace,printStackTrace,printStackTrace,setStackTrace,toString
Constructor Detail
ObjectDeletedException
public ObjectDeletedException(String message,Object identifier,String entityName)
Constructs anObjectDeletedExceptionusing the given information.- Parameters:
message- A message explaining the exception conditionidentifier- The identifier of the entityentityName- The name of the entity