Class UnacceptableClassForAutoFillAnnotation
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- nz.co.gregs.dbvolution.exceptions.DBRuntimeException
-
- nz.co.gregs.dbvolution.exceptions.UnacceptableClassForAutoFillAnnotation
-
- All Implemented Interfaces:
Serializable
public class UnacceptableClassForAutoFillAnnotation extends DBRuntimeException
Thrown when the developer has attempted to use a POJO rather than a DBRow in theAutoFillDuringQueryIfPossible
annotation.Support DBvolution at Patreon
- Author:
- gregorygraham
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnacceptableClassForAutoFillAnnotation(PropertyWrapper<?,?,?> field, Class<?> requiredClass)
Thrown when the developer has attempted to use a POJO rather than a DBRow in theAutoFillDuringQueryIfPossible
annotation.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnacceptableClassForAutoFillAnnotation
public UnacceptableClassForAutoFillAnnotation(PropertyWrapper<?,?,?> field, Class<?> requiredClass)
Thrown when the developer has attempted to use a POJO rather than a DBRow in theAutoFillDuringQueryIfPossible
annotation.- Parameters:
field
- the field that can't be auto-filledrequiredClass
- the class that field is in
-
-