public class StoreException extends OpenJPAException
Modifier and Type | Field and Description |
---|---|
static int |
LOCK |
static int |
OBJECT_EXISTS |
static int |
OBJECT_NOT_FOUND |
static int |
OPTIMISTIC |
static int |
QUERY |
static int |
REFERENTIAL_INTEGRITY |
GENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED
Constructor and Description |
---|
StoreException(Localizer.Message msg) |
StoreException(Localizer.Message msg,
Throwable cause) |
StoreException(String msg) |
StoreException(String msg,
Throwable cause) |
StoreException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getType()
Exception type.
|
getCause, getFailedObject, getNestedThrowables, getSubtype, 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 static final int LOCK
public static final int OBJECT_NOT_FOUND
public static final int OPTIMISTIC
public static final int REFERENTIAL_INTEGRITY
public static final int OBJECT_EXISTS
public static final int QUERY
public StoreException(String msg)
public StoreException(Localizer.Message msg)
public StoreException(Throwable cause)
public StoreException(Localizer.Message msg, Throwable cause)
public int getType()
OpenJPAException
getType
in interface ExceptionInfo
getType
in class OpenJPAException
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.