Package org.hibernate

Class 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 java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 condition
        identifier - The identifier of the entity
        entityName - The name of the entity