Package org.apache.openjpa.persistence
Class LockTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
jakarta.persistence.LockTimeoutException
org.apache.openjpa.persistence.LockTimeoutException
- All Implemented Interfaces:
Serializable,ExceptionInfo
public class LockTimeoutException
extends jakarta.persistence.LockTimeoutException
implements Serializable, ExceptionInfo
Pessimistic lock timeout violation.
- Since:
- 2.0.0
- See Also:
-
Field Summary
Fields inherited from interface org.apache.openjpa.util.ExceptionInfo
GENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCause()Returns the firstThrowablefromExceptionInfo.getNestedThrowables()in order to conform toThrowable.getCause()in Java 1.4+.The failed object.The nested throwables.intException subtype.intgetType()Exception type.booleanisFatal()Whether this error is fatal.voidStack.voidvoidtoString()Methods inherited from class jakarta.persistence.LockTimeoutException
getObjectMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTraceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.openjpa.util.ExceptionInfo
getMessage
-
Constructor Details
-
LockTimeoutException
-
-
Method Details
-
getType
public int getType()Description copied from interface:ExceptionInfoException type.- Specified by:
getTypein interfaceExceptionInfo
-
getSubtype
public int getSubtype()Description copied from interface:ExceptionInfoException subtype.- Specified by:
getSubtypein interfaceExceptionInfo
-
isFatal
public boolean isFatal()Description copied from interface:ExceptionInfoWhether this error is fatal.- Specified by:
isFatalin interfaceExceptionInfo
-
getCause
Description copied from interface:ExceptionInfoReturns the firstThrowablefromExceptionInfo.getNestedThrowables()in order to conform toThrowable.getCause()in Java 1.4+.- Specified by:
getCausein interfaceExceptionInfo- Overrides:
getCausein classThrowable- See Also:
-
getNestedThrowables
Description copied from interface:ExceptionInfoThe nested throwables.- Specified by:
getNestedThrowablesin interfaceExceptionInfo
-
getFailedObject
Description copied from interface:ExceptionInfoThe failed object.- Specified by:
getFailedObjectin interfaceExceptionInfo
-
toString
-
printStackTrace
public void printStackTrace()Description copied from interface:ExceptionInfoStack.- Specified by:
printStackTracein interfaceExceptionInfo- Overrides:
printStackTracein classThrowable- See Also:
-
printStackTrace
- Overrides:
printStackTracein classThrowable
-
printStackTrace
- Overrides:
printStackTracein classThrowable
-