Package org.hibernate

Class StaleObjectStateException

  • All Implemented Interfaces:

    public class StaleObjectStateException
    extends StaleStateException
    A specialized StaleStateException that carries information about the particular entity instance that was the source of the failure.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructor Description
      StaleObjectStateException​(java.lang.String entityName, identifier)
      Constructs a StaleObjectStateException using the supplied information.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getEntityName() getIdentifier()  
      java.lang.String getMessage()  
      • 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

      • StaleObjectStateException

        public StaleObjectStateException​(java.lang.String entityName,
        Constructs a StaleObjectStateException using the supplied information.
        entityName - The name of the entity
        identifier - The identifier of the entity
    • Method Detail

      • getEntityName

        public java.lang.String getEntityName()
      • getIdentifier

        public getIdentifier()
      • getMessage

        public java.lang.String getMessage()
        getMessage in class java.lang.Throwable