com.triactive.jdo.model
Class ClassMetaDataFlagMismatchException

java.lang.Object
  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:
java.io.Serializable

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.

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

ClassMetaDataFlagMismatchException

public ClassMetaDataFlagMismatchException(java.lang.Class clazz,
                                          int fieldNumber,
                                          byte expectedFlag,
                                          byte actualFlag)
Constructs a class metadata flag mismatch exception.

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