org.jpox.store.exceptions
Class NoSuchPersistentFieldException

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 org.jpox.store.exceptions.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.

Version:
$Revision: 1.3 $
See Also:
Serialized Form

Field Summary
protected static Localiser LOCALISER
           
 
Constructor Summary
NoSuchPersistentFieldException(java.lang.String className, int fieldNumber)
          Constructs a no such persistent field exception.
NoSuchPersistentFieldException(java.lang.String className, java.lang.String fieldName)
          Constructs a no such persistent field 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
 

Field Detail

LOCALISER

protected static final Localiser LOCALISER
Constructor Detail

NoSuchPersistentFieldException

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

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

NoSuchPersistentFieldException

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

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


Copyright © -2010 . All Rights Reserved.