org.jwarp.service.param
Class ParameterException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.jwarp.service.param.ParameterException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ParameterNotFoundException

public class ParameterException
extends java.lang.Exception

Exception for erroneous parameter values

Version:
1.0
Author:
Anatole Tresch, Martin Schaefer
See Also:
Serialized Form

Constructor Summary
ParameterException(IParameterDescription param, java.lang.String errorDescription)
          Constructs a new ParameterException.
ParameterException(java.lang.String reason)
          Constructs a new ParameterException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterException

public ParameterException(IParameterDescription param,
                          java.lang.String errorDescription)
Constructs a new ParameterException.
Parameters:
param - The parameter descriptor for the erroneous parameter
errorDescription - Plain text description of the validation result

ParameterException

public ParameterException(java.lang.String reason)
Constructs a new ParameterException.
Parameters:
reason - Plain text description of the validation result

©   O R C A   S y s t e m s