Class NoSuchPersistentFieldException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusUserException
org.datanucleus.store.rdbms.exceptions.NoSuchPersistentFieldException
- All Implemented Interfaces:
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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNoSuchPersistentFieldException
(String className, int fieldNumber) Constructs a no such persistent field exception.NoSuchPersistentFieldException
(String className, 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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
NoSuchPersistentFieldException
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
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.
-