com.genesyslab.ail.exception
Class InvalidParameterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.genesyslab.ail.exception.RequestFailedException
              extended by com.genesyslab.ail.exception.PreconditionException
                  extended by com.genesyslab.ail.exception.InvalidParameterException
All Implemented Interfaces:
java.io.Serializable

public class InvalidParameterException
extends PreconditionException

Exception thrown when a parameter in a request was incorrect.

See Also:
Serialized Form

Constructor Summary
InvalidParameterException(java.lang.String name, java.lang.Object value, java.lang.String comment)
          Constructor for this exception.
 
Method Summary
 java.lang.String getParamName()
          Returns the name of the bad parameter.
 java.lang.Object getParamValue()
          Returns the bad value of the parameter.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidParameterException

public InvalidParameterException(java.lang.String name,
                                 java.lang.Object value,
                                 java.lang.String comment)
Constructor for this exception.

Parameters:
name - the name of the parameter
value - the value of the parameter
comment - comments for this exception
Method Detail

getParamName

public java.lang.String getParamName()
Returns the name of the bad parameter.


getParamValue

public java.lang.Object getParamValue()
Returns the bad value of the parameter.