org.talika.tarsis.filters.validator
Class InvalidParametersException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.talika.tarsis.error.UserException
              extended by org.talika.tarsis.filters.validator.InvalidParametersException
All Implemented Interfaces:
java.io.Serializable

public class InvalidParametersException
extends UserException

Thrown by ValidatorFilter to transport all invalid parameter exceptions as one unique exception.

Version:
$Revision: 129 $
Author:
Jose M. Palomar
See Also:
Serialized Form

Constructor Summary
InvalidParametersException(java.lang.String msg, java.util.Collection missingParameters, java.util.Map invalidValueParameters)
          Constructs a new InvalidParametersException exception.
 
Method Summary
 java.util.Map getInvalidValueParameters()
          Returns a map of InvalidValueException exceptions.
 java.util.Collection getMissingParameters()
          Returns a collection of RequiredParameterException exceptions.
 
Methods inherited from class org.talika.tarsis.error.UserException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidParametersException

public InvalidParametersException(java.lang.String msg,
                                  java.util.Collection missingParameters,
                                  java.util.Map invalidValueParameters)
Constructs a new InvalidParametersException exception.

Parameters:
msg - String text of the exception message.
missingParameters - Collection RequiredParameterException exceptions.
invalidValueParameters - Map InvalidValueException exceptions.
Method Detail

getMissingParameters

public java.util.Collection getMissingParameters()
Returns a collection of RequiredParameterException exceptions.

Returns:
Collection RequiredParameterException exceptions.

getInvalidValueParameters

public java.util.Map getInvalidValueParameters()
Returns a map of InvalidValueException exceptions.

Returns:
Map InvalidValueException exceptions.


Copyright © 2002-2012 Talika Open Source Group. All Rights Reserved.