com.ibm.tws.objects.validator
Class LengthValidatorException

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.LengthValidatorException
All Implemented Interfaces:
java.io.Serializable

public class LengthValidatorException
extends ValidatorException

This exception is thrown when validation of an object fails because a text field exceeds the allowed maximum length.

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
LengthValidatorException(java.lang.String field, java.lang.String value, int maxLength, Validator caller)
          Creates a new LengthValidatorException from the specified parameters.
 
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

LengthValidatorException

public LengthValidatorException(java.lang.String field,
                                java.lang.String value,
                                int maxLength,
                                Validator caller)
Creates a new LengthValidatorException from the specified parameters.

Parameters:
field - The name of the text field.
value - The value of the text field.
maxLength - The allowed maximum length.
caller - The validator that is creating the exception.


Copyright © 2005 IBM All Rights Reserved.