com.ibm.tws.objects.validator
Class FilterValidatorException

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

public class FilterValidatorException
extends ValidatorException

This exception is thrown when validation of a query filter fails because one of the filter elements is not an instance of the expected class, or is null but the filter element is not nullable.

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
FilterValidatorException(java.lang.String filter, java.lang.String correctClass)
          Creates a new FilterValidatorException from the specified parameters.
FilterValidatorException(java.lang.String filter, java.lang.String wrongClass, java.lang.String correctClass)
          Creates a new FilterValidatorException 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

FilterValidatorException

public FilterValidatorException(java.lang.String filter,
                                java.lang.String wrongClass,
                                java.lang.String correctClass)
Creates a new FilterValidatorException from the specified parameters.

Parameters:
filter - The name of the filter element.
wrongClass - The class name of the filter element value.
correctClass - The class name that was expected for the filter element value.

FilterValidatorException

public FilterValidatorException(java.lang.String filter,
                                java.lang.String correctClass)
Creates a new FilterValidatorException from the specified parameters.

Parameters:
filter - The name of the filter element.
correctClass - The class name that was expected for the filter element value.


Copyright © 2005 IBM All Rights Reserved.