com.interface21.beans
Class InvalidPropertyValuesException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.interface21.core.NestedRuntimeException
|
+--com.interface21.beans.BeansException
|
+--com.interface21.beans.InvalidPropertyValuesException
- All Implemented Interfaces:
- HasRootCause, java.io.Serializable
- public class InvalidPropertyValuesException
- extends BeansException
Exception thrown when PropertyValues are flagged as invalid
by a PropertyValuesValidator. After an object of this class
is constructed, MissingFieldExceptions can be added one by one.
- Version:
- 1.0
- Author:
- Rod Johnson
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidPropertyValuesException
public InvalidPropertyValuesException(PropertyValues pvs)
addMissingField
public void addMissingField(java.lang.String field,
java.lang.String errorCode)
fieldsAreMissing
public boolean fieldsAreMissing()
getMissingFields
public java.util.List getMissingFields()
getPropertyValues
public PropertyValues getPropertyValues()
Rod Johnson and Spring contributors 2001-2003.