org.apache.openjpa.persistence
Class OptimisticLockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.persistence.PersistenceException
javax.persistence.OptimisticLockException
org.apache.openjpa.persistence.OptimisticLockException
- All Implemented Interfaces:
- Serializable, ExceptionInfo
public class OptimisticLockException
- extends javax.persistence.OptimisticLockException
- implements Serializable, ExceptionInfo
Optimistic concurrency violation.
- Since:
- 0.4.0
- Author:
- Abe White
- See Also:
- Serialized Form
Methods inherited from class javax.persistence.OptimisticLockException |
getEntity |
OptimisticLockException
public OptimisticLockException(String msg,
Throwable[] nested,
Object failed,
boolean fatal)
getType
public int getType()
- Specified by:
getType
in interface ExceptionInfo
getSubtype
public int getSubtype()
- Specified by:
getSubtype
in interface ExceptionInfo
isFatal
public boolean isFatal()
- Specified by:
isFatal
in interface ExceptionInfo
getCause
public Throwable getCause()
- Specified by:
getCause
in interface ExceptionInfo
- Overrides:
getCause
in class Throwable
getNestedThrowables
public Throwable[] getNestedThrowables()
- Specified by:
getNestedThrowables
in interface ExceptionInfo
getFailedObject
public Object getFailedObject()
- Specified by:
getFailedObject
in interface ExceptionInfo
toString
public String toString()
- Overrides:
toString
in class Throwable
printStackTrace
public void printStackTrace()
- Specified by:
printStackTrace
in interface ExceptionInfo
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintStream out)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintWriter out)
- Overrides:
printStackTrace
in class Throwable
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.