Package org.apache.openjpa.util
Class StoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.openjpa.util.OpenJPAException
org.apache.openjpa.util.StoreException
- All Implemented Interfaces:
Serializable
,ExceptionInfo
- Direct Known Subclasses:
LockException
,ObjectExistsException
,ObjectNotFoundException
,OptimisticException
,QueryException
,ReferentialIntegrityException
Base exception for data store errors.
- Since:
- 0.2.5
- Author:
- Marc Prud'hommeaux
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from interface org.apache.openjpa.util.ExceptionInfo
GENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED
-
Constructor Summary
ConstructorDescriptionStoreException
(String msg) StoreException
(String msg, Throwable cause) StoreException
(Throwable cause) StoreException
(Localizer.Message msg, Throwable cause) -
Method Summary
Methods inherited from class org.apache.openjpa.util.OpenJPAException
getCause, getFailedObject, getNestedThrowables, getSubtype, isFatal, printStackTrace, printStackTrace, printStackTrace, setCause, setFailedObject, setFatal, setNestedThrowables, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.openjpa.util.ExceptionInfo
getMessage
-
Field Details
-
LOCK
public static final int LOCK- See Also:
-
OBJECT_NOT_FOUND
public static final int OBJECT_NOT_FOUND- See Also:
-
OPTIMISTIC
public static final int OPTIMISTIC- See Also:
-
REFERENTIAL_INTEGRITY
public static final int REFERENTIAL_INTEGRITY- See Also:
-
OBJECT_EXISTS
public static final int OBJECT_EXISTS- See Also:
-
QUERY
public static final int QUERY- See Also:
-
-
Constructor Details
-
StoreException
-
StoreException
-
StoreException
-
StoreException
-
StoreException
-
-
Method Details
-
getType
public int getType()Description copied from class:OpenJPAException
Exception type.- Specified by:
getType
in interfaceExceptionInfo
- Specified by:
getType
in classOpenJPAException
-