javax.persistence
Class OptimisticLockException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.persistence.PersistenceException
                  extended by javax.persistence.OptimisticLockException
All Implemented Interfaces:
Serializable

public class OptimisticLockException
extends PersistenceException

See Also:
Serialized Form

Constructor Summary
OptimisticLockException()
           
OptimisticLockException(Object entity)
           
OptimisticLockException(String string)
           
OptimisticLockException(String string, Throwable throwable)
           
OptimisticLockException(String string, Throwable throwable, Object entity)
           
OptimisticLockException(Throwable throwable)
           
 
Method Summary
 Object getEntity()
           
 
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OptimisticLockException

public OptimisticLockException()

OptimisticLockException

public OptimisticLockException(Object entity)

OptimisticLockException

public OptimisticLockException(String string)

OptimisticLockException

public OptimisticLockException(String string,
                               Throwable throwable)

OptimisticLockException

public OptimisticLockException(String string,
                               Throwable throwable,
                               Object entity)

OptimisticLockException

public OptimisticLockException(Throwable throwable)
Method Detail

getEntity

public Object getEntity()


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.