com.ibm.tws.objects.validator
Class ConstraintValidatorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.tws.util.exception.TWSException
com.ibm.tws.objects.validator.ValidatorException
com.ibm.tws.objects.validator.ConstraintValidatorException
- All Implemented Interfaces:
- java.io.Serializable
- public class ConstraintValidatorException
- extends ValidatorException
This exception is thrown when validation of an object fails because the current value of a field does not comply with a
constraint defined by the current value of one or more fields of the same object.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary |
ConstraintValidatorException(java.util.List masterFields,
java.util.List masterValues,
java.lang.String slaveField,
java.lang.Object slaveValue,
Validator caller)
Creates a new ConstraintValidatorException from the specified parameters. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright.
ConstraintValidatorException
public ConstraintValidatorException(java.util.List masterFields,
java.util.List masterValues,
java.lang.String slaveField,
java.lang.Object slaveValue,
Validator caller)
- Creates a new ConstraintValidatorException from the specified parameters.
- Parameters:
masterFields
- A list of the names of all the fields that define the constraint.masterValues
- A list of the values of all the fields that define the constraint.slaveField
- The name of the field that does not comply with the constraint.slaveValue
- The value of the field that does not comply with the constraint.caller
- The validator that is creating the exception.
Copyright © 2005 IBM All Rights Reserved.