|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.jdo.JDOException javax.jdo.JDOFatalException javax.jdo.JDOFatalUserException com.triactive.jdo.model.ClassMetaDataMismatchException
A ClassMetaDataMismatchException is thrown if the names, types, or flags of the persistent fields of an enhanced class do not match those that would be expected based on the corresponding JDO metadata.
ClassMetaData
,
Serialized FormConstructor Summary | |
ClassMetaDataMismatchException(java.lang.Class clazz,
int fieldNumber,
java.lang.Class typeInClass,
java.lang.Class typeInMetadata)
Constructs a class metadata mismatch exception caused by a different field type for a given field number. |
|
ClassMetaDataMismatchException(java.lang.Class clazz,
int fieldNumber,
java.lang.String nameInClass,
java.lang.String nameInMetadata)
Constructs a class metadata mismatch exception caused by a different field name for a given field number. |
|
ClassMetaDataMismatchException(java.lang.Class clazz,
java.lang.String msg)
Constructs a class metadata mismatch exception with the specified detail message. |
|
ClassMetaDataMismatchException(java.lang.Class clazz,
java.lang.String[] fieldNamesInClass,
java.util.List fieldMetadata)
Constructs a class metadata mismatch exception caused by a difference in the list of persistent fields. |
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 ClassMetaDataMismatchException(java.lang.Class clazz, java.lang.String msg)
clazz
- The enhanced class whose metadata does not match.msg
- The detail messagepublic ClassMetaDataMismatchException(java.lang.Class clazz, java.lang.String[] fieldNamesInClass, java.util.List fieldMetadata)
clazz
- The enhanced class whose metadata does not match.fieldNamesInClass
- The field names in the enhanced classfieldMetadata
- The metadata for all the fields in the classpublic ClassMetaDataMismatchException(java.lang.Class clazz, int fieldNumber, java.lang.String nameInClass, java.lang.String nameInMetadata)
clazz
- The enhanced class whose metadata does not match.fieldNumber
- The persistent field numbernameInClass
- The name of the field in the enhanced classnameInMetadata
- The name of the field in the metadatapublic ClassMetaDataMismatchException(java.lang.Class clazz, int fieldNumber, java.lang.Class typeInClass, java.lang.Class typeInMetadata)
clazz
- The enhanced class whose metadata does not match.fieldNumber
- The persistent field numbertypeInClass
- The type of the field in the enhanced classtypeInMetadata
- The type of the field in the metadata
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |