org.granite.hibernate
Class HibernateOptimisticLockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hibernate.HibernateException
org.hibernate.StaleStateException
org.granite.hibernate.HibernateOptimisticLockException
- All Implemented Interfaces:
- Serializable
public class HibernateOptimisticLockException
- extends StaleStateException
- Author:
- William DRAI
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
HibernateOptimisticLockException
public HibernateOptimisticLockException(String message,
Throwable cause,
Object entity)
getEntity
public Object getEntity()
rethrowOptimisticLockException
public static void rethrowOptimisticLockException(Session session,
StaleObjectStateException sose)