Class InvalidMetaDataRelationshipException

  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDOUserException
All Implemented Interfaces:

public class InvalidMetaDataRelationshipException
extends javax.jdo.JDOUserException

A InvalidMetaDataRelationshipException is thrown if the metadata for a persistent field declares a relationship to another field, but the field on the other side has no complementary declaration.

Mike Martin
See Also:
Serialized Form

Constructor Summary
InvalidMetaDataRelationshipException(FieldMetaData from, java.lang.String fromRel, FieldMetaData to, java.lang.String toRel)
          Constructs an invalid metadata relationship exception.
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public InvalidMetaDataRelationshipException(FieldMetaData from,
                                            java.lang.String fromRel,
                                            FieldMetaData to,
                                            java.lang.String toRel)
Constructs an invalid metadata relationship exception.

from - The metadata of the field declaring a relationship.
fromRel - The type of relationship declared by 'from'.
to - The metadata of the field referred to by the relationship.
toRel - The type of relationship missing from 'to'.

Copyright 2001-2007 The TJDO Project All Rights Reserved.