Class NoSuchPersistentFieldException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoSuchPersistentFieldException
    extends org.datanucleus.exceptions.NucleusUserException
    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.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      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 org.datanucleus.exceptions.NucleusException

        getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedException
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.