Class ClassMetaDataFlagMismatchException

  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOFatalException
                      extended byjavax.jdo.JDOFatalUserException
                          extended bycom.triactive.jdo.model.ClassMetaDataMismatchException
                              extended bycom.triactive.jdo.model.ClassMetaDataFlagMismatchException
All Implemented Interfaces:

public class ClassMetaDataFlagMismatchException
extends ClassMetaDataMismatchException

A ClassMetaDataFlagMismatchException is thrown if the flag of a persistent field of an enhanced class does not match what would be expected based on the corresponding JDO metadata.

Mike Martin
See Also:
ClassMetaData, Serialized Form

Constructor Summary
ClassMetaDataFlagMismatchException(java.lang.Class clazz, int fieldNumber, byte expectedFlag, byte actualFlag)
          Constructs a class metadata flag mismatch 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 ClassMetaDataFlagMismatchException(java.lang.Class clazz,
                                          int fieldNumber,
                                          byte expectedFlag,
                                          byte actualFlag)
Constructs a class metadata flag mismatch exception.

clazz - The enhanced class whose metadata does not match.
fieldNumber - The field number whose flag mismatched.
expectedFlag - The expected flag value.
actualFlag - The actual flag value.

Copyright 2001-2007 The TJDO Project All Rights Reserved.