public class OptimisticException extends StoreException
LOCK, OBJECT_EXISTS, OBJECT_NOT_FOUND, OPTIMISTIC, QUERY, REFERENTIAL_INTEGRITY
GENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED
Constructor and Description |
---|
OptimisticException(Collection failed,
Throwable[] nested) |
OptimisticException(Localizer.Message msg) |
OptimisticException(Object failed) |
OptimisticException(Throwable[] nested) |
Modifier and Type | Method and Description |
---|---|
int |
getSubtype()
Exception subtype.
|
getType
getCause, getFailedObject, getNestedThrowables, isFatal, printStackTrace, printStackTrace, printStackTrace, setCause, setFailedObject, setFatal, setNestedThrowables, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessage
public OptimisticException(Localizer.Message msg)
public OptimisticException(Object failed)
public OptimisticException(Throwable[] nested)
public OptimisticException(Collection failed, Throwable[] nested)
public int getSubtype()
OpenJPAException
getSubtype
in interface ExceptionInfo
getSubtype
in class OpenJPAException
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.