org.jwarp.service.param
Class ParameterNotFoundException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.jwarp.service.param.ParameterException
|
+--org.jwarp.service.param.ParameterNotFoundException
- All Implemented Interfaces:
- java.io.Serializable
- public class ParameterNotFoundException
- extends ParameterException
Exception thrown if a required parameter is missing
- Version:
- 1.0
- Author:
- Anatole Tresch, Martin Schaefer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
missingParameter
IParameterDescription missingParameter
- The parameter descriptor for the missing parameter
ParameterNotFoundException
public ParameterNotFoundException()
- A constructor (1/3): no parameters
ParameterNotFoundException
public ParameterNotFoundException(IParameterDescription missingParameter)
- A constructor (2/3)
- Parameters:
missingParameter - Descriptor for the missing Parametersource - The method that created this exception
ParameterNotFoundException
public ParameterNotFoundException(java.lang.String descr)
- A constructor (3/3)
- Parameters:
descr - plain text descriptuion of error
getMissingParameter
public IParameterDescription getMissingParameter()
- Get the descriptor of the missing parameter
- Returns:
- The parameter descriptor
getMessage
public java.lang.String getMessage()
- Get the exception's message
- Overrides:
getMessage in class java.lang.Throwable
- Returns:
- The message