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

Field Summary
(package private)  IParameterDescription missingParameter
          The parameter descriptor for the missing parameter
 
Constructor Summary
ParameterNotFoundException()
          A constructor (1/3): no parameters
ParameterNotFoundException(IParameterDescription missingParameter)
          A constructor (2/3)
ParameterNotFoundException(java.lang.String descr)
          A constructor (3/3)
 
Method Summary
 java.lang.String getMessage()
          Get the exception's message
 IParameterDescription getMissingParameter()
          Get the descriptor of the missing parameter
 
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
 

Field Detail

missingParameter

IParameterDescription missingParameter
The parameter descriptor for the missing parameter
Constructor Detail

ParameterNotFoundException

public ParameterNotFoundException()
A constructor (1/3): no parameters

ParameterNotFoundException

public ParameterNotFoundException(IParameterDescription missingParameter)
A constructor (2/3)
Parameters:
missingParameter - Descriptor for the missing Parameter
source - The method that created this exception

ParameterNotFoundException

public ParameterNotFoundException(java.lang.String descr)
A constructor (3/3)
Parameters:
descr - plain text descriptuion of error
Method Detail

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

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