org.springframework.orm.hibernate3

Class HibernateOptimisticLockingFailureException

Implemented Interfaces:
Serializable

public class HibernateOptimisticLockingFailureException
extends ObjectOptimisticLockingFailureException

Hibernate-specific subclass of ObjectOptimisticLockingFailureException. Converts Hibernate's StaleObjectStateException and StaleStateException.
Since:
1.2
See Also:
SessionFactoryUtils.convertHibernateAccessException(HibernateException), Serialized Form

Constructor Summary

HibernateOptimisticLockingFailureException(StaleObjectStateException ex)
HibernateOptimisticLockingFailureException(StaleStateException ex)

Method Summary

Methods inherited from class org.springframework.orm.ObjectOptimisticLockingFailureException

getIdentifier, getPersistentClass, getPersistentClassName

Methods inherited from class org.springframework.core.NestedRuntimeException

contains, getCause, getMessage, printStackTrace, printStackTrace

Methods inherited from class java.lang.Throwable

fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

HibernateOptimisticLockingFailureException

public HibernateOptimisticLockingFailureException(StaleObjectStateException ex)

HibernateOptimisticLockingFailureException

public HibernateOptimisticLockingFailureException(StaleStateException ex)