public class ReferentialIntegrityException extends StoreException
| Modifier and Type | Field and Description |
|---|---|
static int |
IV_DUPLICATE_OID |
static int |
IV_MIXED |
static int |
IV_REFERENCE |
static int |
IV_UNIQUE |
static int |
IV_UNKNOWN |
LOCK, OBJECT_EXISTS, OBJECT_NOT_FOUND, OPTIMISTIC, QUERY, REFERENTIAL_INTEGRITYGENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED| Constructor and Description |
|---|
ReferentialIntegrityException(int iv) |
ReferentialIntegrityException(String msg) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIntegrityViolation()
The type of integrity violation that occurred.
|
int |
getSubtype()
Exception subtype.
|
ReferentialIntegrityException |
setIntegrityViolation(int iv)
The type of integrity violation that occurred.
|
getTypegetCause, getFailedObject, getNestedThrowables, isFatal, printStackTrace, printStackTrace, printStackTrace, setCause, setFailedObject, setFatal, setNestedThrowables, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMessagepublic static final int IV_UNKNOWN
public static final int IV_DUPLICATE_OID
public static final int IV_UNIQUE
public static final int IV_REFERENCE
public static final int IV_MIXED
public ReferentialIntegrityException(String msg)
public ReferentialIntegrityException(int iv)
public int getSubtype()
OpenJPAExceptiongetSubtype in interface ExceptionInfogetSubtype in class OpenJPAExceptionpublic int getIntegrityViolation()
public ReferentialIntegrityException setIntegrityViolation(int iv)
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.