kodo.util
Class  ReferentialIntegrityException
java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javax.jdo.JDOException
                          |
                          +--javax.jdo.JDOCanRetryException
                                |
                                +--javax.jdo.JDOUserException
                                      |
                                      +--kodo.util.UserException
                                            |
                                            +--kodo.util.ReferentialIntegrityException
- All Implemented Interfaces: 
- Serializable
- public class ReferentialIntegrityException- extends UserException- implements Serializable
Exception type reserved for violations of integrity constraints.
- See Also: 
- Serialized Form
 
| Constructor Summary | 
| ReferentialIntegrityException()
 | 
| ReferentialIntegrityException(int type)
 | 
| ReferentialIntegrityException(Object failed,
                              int type)
 | 
| ReferentialIntegrityException(String msg,
                              Throwable[] nested,
                              Object failed,
                              int type)
 | 
| ReferentialIntegrityException(Throwable[] nested,
                              int type)
 | 
| ReferentialIntegrityException(Throwable[] nested,
                              Object failed,
                              int type)
 | 
| ReferentialIntegrityException(Throwable nested,
                              int type)
 | 
| ReferentialIntegrityException(Throwable nested,
                              Object failed,
                              int type)
 | 
 
 
 
 
 
 
TYPE_UNKNOWN
public static final int TYPE_UNKNOWN
TYPE_DUPLICATE_OID
public static final int TYPE_DUPLICATE_OID
TYPE_UNIQUE
public static final int TYPE_UNIQUE
TYPE_REFERENCE
public static final int TYPE_REFERENCE
TYPE_MIXED
public static final int TYPE_MIXED
ReferentialIntegrityException
public ReferentialIntegrityException()
ReferentialIntegrityException
public ReferentialIntegrityException(int type)
ReferentialIntegrityException
public ReferentialIntegrityException(Object failed,
                                     int type)
ReferentialIntegrityException
public ReferentialIntegrityException(Throwable nested,
                                     int type)
ReferentialIntegrityException
public ReferentialIntegrityException(Throwable[] nested,
                                     int type)
ReferentialIntegrityException
public ReferentialIntegrityException(Throwable nested,
                                     Object failed,
                                     int type)
ReferentialIntegrityException
public ReferentialIntegrityException(Throwable[] nested,
                                     Object failed,
                                     int type)
ReferentialIntegrityException
public ReferentialIntegrityException(String msg,
                                     Throwable[] nested,
                                     Object failed,
                                     int type)
getType
public int getType()
- 
 
setType
public void setType(int type)
- 
 
newSerializableInstance
protected UserException newSerializableInstance(String msg,
                                                Throwable[] nested,
                                                Object failed)
- Description copied from class: UserException
- Return a new instance of this class with the given state, and add
 	any additional serializable state from this instance.- 
- Overrides:
- newSerializableInstancein class- UserException
 
toString
public String toString()
- Bypass the standard JDOException.toString()method, since
  it has the potential for infinite recursion if the failed object
  references persistent fields whose access may cause another exception.
- 
- Overrides:
- toStringin class- UserException
 
- 
- Since: 
- 3.2
 
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.