Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate
Class StaleObjectStateException  view StaleObjectStateException download StaleObjectStateException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.hibernate.exception.NestableRuntimeException
                  extended byorg.hibernate.HibernateException
                      extended byorg.hibernate.StaleStateException
                          extended byorg.hibernate.StaleObjectStateException
All Implemented Interfaces:
org.hibernate.exception.Nestable, java.io.Serializable

public class StaleObjectStateException
extends StaleStateException

A StaleStateException that carries information about a particular entity instance that was the source of the failure.


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.String entityName
           
private  java.io.Serializable identifier
           
 
Fields inherited from class org.hibernate.exception.NestableRuntimeException
delegate
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
StaleObjectStateException(java.lang.String persistentClass, java.io.Serializable identifier)
           
 
Method Summary
 java.lang.String getEntityName()
           
 java.io.Serializable getIdentifier()
           
 java.lang.String getMessage()
          Returns the detail message string of this throwable.
 
Methods inherited from class org.hibernate.exception.NestableRuntimeException
getCause, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

entityName

private final java.lang.String entityName

identifier

private final java.io.Serializable identifier
Constructor Detail

StaleObjectStateException

public StaleObjectStateException(java.lang.String persistentClass,
                                 java.io.Serializable identifier)
Method Detail

getEntityName

public java.lang.String getEntityName()

getIdentifier

public java.io.Serializable getIdentifier()

getMessage

public java.lang.String getMessage()
Description copied from class: org.hibernate.exception.NestableRuntimeException
Returns the detail message string of this throwable. If it was created with a null message, returns the following: ( cause==null ? null : cause.toString( ).