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_INTEGRITY
GENERAL, 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.
|
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 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()
OpenJPAException
getSubtype
in interface ExceptionInfo
getSubtype
in class OpenJPAException
public int getIntegrityViolation()
public ReferentialIntegrityException setIntegrityViolation(int iv)
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.