org.apache.openjpa.util
Class ReferentialIntegrityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.openjpa.util.OpenJPAException
org.apache.openjpa.util.StoreException
org.apache.openjpa.util.ReferentialIntegrityException
- All Implemented Interfaces:
- Serializable, ExceptionInfo
public class ReferentialIntegrityException
- extends StoreException
Exception type reserved for violations of integrity constraints.
- Author:
- Patrick Linskey
- See Also:
- Serialized Form
Methods inherited from class org.apache.openjpa.util.OpenJPAException |
getCause, getFailedObject, getNestedThrowables, isFatal, printStackTrace, printStackTrace, printStackTrace, setCause, setFailedObject, setFatal, setNestedThrowables, toString |
IV_UNKNOWN
public static final int IV_UNKNOWN
- See Also:
- Constant Field Values
IV_DUPLICATE_OID
public static final int IV_DUPLICATE_OID
- See Also:
- Constant Field Values
IV_UNIQUE
public static final int IV_UNIQUE
- See Also:
- Constant Field Values
IV_REFERENCE
public static final int IV_REFERENCE
- See Also:
- Constant Field Values
IV_MIXED
public static final int IV_MIXED
- See Also:
- Constant Field Values
ReferentialIntegrityException
public ReferentialIntegrityException(String msg)
ReferentialIntegrityException
public ReferentialIntegrityException(int iv)
getSubtype
public int getSubtype()
- Description copied from class:
OpenJPAException
- Exception subtype.
- Specified by:
getSubtype
in interface ExceptionInfo
- Overrides:
getSubtype
in class OpenJPAException
getIntegrityViolation
public int getIntegrityViolation()
- The type of integrity violation that occurred.
setIntegrityViolation
public ReferentialIntegrityException setIntegrityViolation(int iv)
- The type of integrity violation that occurred.
Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.