com.triactive.jdo.store
Class InvalidMetaDataRelationshipException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOCanRetryException
                      extended by javax.jdo.JDOUserException
                          extended by com.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.
 
Method Summary
 
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 TriActive, Inc. All Rights Reserved.