com.triactive.jdo.store
Class InvalidMetaDataRelationshipException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDOUserException
                          extended bycom.triactive.jdo.store.InvalidMetaDataRelationshipException
All Implemented Interfaces:
java.io.Serializable

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.

Author:
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

InvalidMetaDataRelationshipException

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

Parameters:
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.