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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from interface org.apache.openjpa.util.ExceptionInfo
GENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED -
Constructor Summary
ConstructorsConstructorDescriptionStoreException(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, toStringMethods 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
-
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:OpenJPAExceptionException type.- Specified by:
getTypein interfaceExceptionInfo- Specified by:
getTypein classOpenJPAException
-