com.ibm.tws.objects.validator
Class ValueValidatorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.tws.util.exception.TWSException
              extended bycom.ibm.tws.objects.validator.ValidatorException
                  extended bycom.ibm.tws.objects.validator.ValueValidatorException
All Implemented Interfaces:
java.io.Serializable

public class ValueValidatorException
extends ValidatorException

This exception is thrown when validation of an object fails because one of the fields contains an invalid value.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Fields inherited from class com.ibm.tws.objects.validator.ValidatorException
MESSAGE_CATALOG
 
Constructor Summary
ValueValidatorException(java.lang.String field, int value, Validator caller)
          Creates a new ValueValidatorException from the specified parameters (used in value validations on integer fields).
ValueValidatorException(java.lang.String field, long value, Validator caller)
          Creates a new ValueValidatorException from the specified parameters (used in value validations on long integer fields).
ValueValidatorException(java.lang.String field, java.lang.Object value, Validator caller)
          Creates a new ValueValidatorException from the specified parameters (used in value validations on object fields).
 
Methods inherited from class com.ibm.tws.util.exception.TWSException
getArgs, getCauseMessage, getLocalizedMessage, getLocalizedMessage, getMessage, initialize, printStackTrace, printStackTrace, printStackTrace
 
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
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.

Constructor Detail

ValueValidatorException

public ValueValidatorException(java.lang.String field,
                               int value,
                               Validator caller)
Creates a new ValueValidatorException from the specified parameters (used in value validations on integer fields).

Parameters:
field - The name of the integer field.
value - The value of the integer field.
caller - The validator that is creating the exception.

ValueValidatorException

public ValueValidatorException(java.lang.String field,
                               long value,
                               Validator caller)
Creates a new ValueValidatorException from the specified parameters (used in value validations on long integer fields).

Parameters:
field - The name of the long integer field.
value - The value of the long integer field.
caller - The validator that is creating the exception.

ValueValidatorException

public ValueValidatorException(java.lang.String field,
                               java.lang.Object value,
                               Validator caller)
Creates a new ValueValidatorException from the specified parameters (used in value validations on object fields).

Parameters:
field - The name of the object field.
value - The value of the object field.
caller - The validator that is creating the exception.


Copyright © 2005 IBM All Rights Reserved.