public class ObjectNotFoundException extends StoreException
LOCK, OBJECT_EXISTS, OBJECT_NOT_FOUND, OPTIMISTIC, QUERY, REFERENTIAL_INTEGRITY
GENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED
Constructor and Description |
---|
ObjectNotFoundException(Collection failed,
Throwable[] nested) |
ObjectNotFoundException(Localizer.Message msg) |
ObjectNotFoundException(Object failed) |
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 ObjectNotFoundException(Localizer.Message msg)
public ObjectNotFoundException(Object failed)
public ObjectNotFoundException(Collection failed, Throwable[] nested)
public int getSubtype()
OpenJPAException
getSubtype
in interface ExceptionInfo
getSubtype
in class OpenJPAException
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.