com.ibm.tws.objects.validator
Class RangeValidatorException
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.RangeValidatorException
- All Implemented Interfaces:
- java.io.Serializable
- public class RangeValidatorException
- extends ValidatorException
This exception is thrown when validation of an object fails because a sortable field is out of the allowed range.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary |
RangeValidatorException(java.lang.String field,
java.util.Date value,
java.util.Date start,
java.util.Date end,
Validator caller)
Creates a new RangeValidatorException from the specified parameters (used in range validations on date fields). |
RangeValidatorException(java.lang.String field,
int value,
int start,
int end,
Validator caller)
Creates a new RangeValidatorException from the specified parameters (used in range validations on integer fields). |
RangeValidatorException(java.lang.String field,
long value,
long start,
long end,
Validator caller)
Creates a new RangeValidatorException from the specified parameters (used in range validations on long integer fields). |
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.
RangeValidatorException
public RangeValidatorException(java.lang.String field,
int value,
int start,
int end,
Validator caller)
- Creates a new RangeValidatorException from the specified parameters (used in range validations on integer fields).
- Parameters:
field
- The name of the integer field.value
- The value of the integer field.start
- The lower bound of the allowed range.end
- The upper bound of the allowed range.caller
- The validator that is creating the exception.
RangeValidatorException
public RangeValidatorException(java.lang.String field,
long value,
long start,
long end,
Validator caller)
- Creates a new RangeValidatorException from the specified parameters (used in range validations on long integer fields).
- Parameters:
field
- The name of the long integer field.value
- The value of the long integer field.start
- The lower bound of the allowed range.end
- The upper bound of the allowed range.caller
- The validator that is creating the exception.
RangeValidatorException
public RangeValidatorException(java.lang.String field,
java.util.Date value,
java.util.Date start,
java.util.Date end,
Validator caller)
- Creates a new RangeValidatorException from the specified parameters (used in range validations on date fields).
- Parameters:
field
- The name of the date field.value
- The value of the date field.start
- The lower bound of the allowed range.end
- The upper bound of the allowed range.caller
- The validator that is creating the exception.
Copyright © 2005 IBM All Rights Reserved.