com.ibm.tws.objects.validator
Class InstanceValidatorException
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.InstanceValidatorException
- All Implemented Interfaces:
- java.io.Serializable
- public class InstanceValidatorException
- extends ValidatorException
This exception is thrown when validation of an object fails because one of the objects in a list is not an instance of
the expected class.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary |
InstanceValidatorException(java.lang.String field,
java.lang.String wrongClass,
java.lang.String correctClass,
Validator caller)
Creates a new InstanceValidatorException 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.
InstanceValidatorException
public InstanceValidatorException(java.lang.String field,
java.lang.String wrongClass,
java.lang.String correctClass,
Validator caller)
- Creates a new InstanceValidatorException from the specified parameters.
- Parameters:
field
- The name of the field.wrongClass
- The class name of the object instance.correctClass
- The class name that was expected for the object instance.caller
- The validator that is creating the exception.
Copyright © 2005 IBM All Rights Reserved.