org.hibernate

Class StaleObjectStateException

Implemented Interfaces:
Nestable

public class StaleObjectStateException
extends StaleStateException

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

Field Summary

Fields inherited from class org.hibernate.exception.NestableRuntimeException

delegate

Constructor Summary

StaleObjectStateException(String persistentClass, Serializable identifier)

Method Summary

String
getEntityName()
Serializable
getIdentifier()
String
getMessage()

Methods inherited from class org.hibernate.exception.NestableRuntimeException

getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace

Constructor Details

StaleObjectStateException

public StaleObjectStateException(String persistentClass,
                                 Serializable identifier)

Method Details

getEntityName

public String getEntityName()

getIdentifier

public Serializable getIdentifier()

getMessage

public String getMessage()
Specified by:
getMessage in interface Nestable
Overrides:
getMessage in interface NestableRuntimeException