com.triactive.jdo.store
Class NoSuchPersistentFieldException

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.NoSuchPersistentFieldException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchPersistentFieldException
extends javax.jdo.JDOUserException

A NoSuchPersistentFieldException is thrown if a reference is made somewhere, such as in a query filter string, to a field that either doesn't exist or is not persistent.

Author:
Mike Martin
See Also:
Serialized Form

Constructor Summary
NoSuchPersistentFieldException(java.lang.Class clazz, int fieldNumber)
          Constructs a no such persistent field exception.
NoSuchPersistentFieldException(java.lang.Class clazz, java.lang.String fieldName)
          Constructs a no such persistent field 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

NoSuchPersistentFieldException

public NoSuchPersistentFieldException(java.lang.Class clazz,
                                      java.lang.String fieldName)
Constructs a no such persistent field exception.

Parameters:
clazz - The class in which the field was not found.
fieldName - The name of the field.

NoSuchPersistentFieldException

public NoSuchPersistentFieldException(java.lang.Class clazz,
                                      int fieldNumber)
Constructs a no such persistent field exception.

Parameters:
clazz - The class in which the field was not found.
fieldNumber - The field number of the field.


Copyright 2001-2007 The TJDO Project All Rights Reserved.