Package org.opennms.web.servlet
Class MissingParameterException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.opennms.web.servlet.MissingParameterException
-
- All Implemented Interfaces:
java.io.Serializable
public class MissingParameterException extends java.lang.RuntimeException
MissingParameterException class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
missingParameter
protected java.lang.String[]
requiredParameters
-
Constructor Summary
Constructors Constructor Description MissingParameterException(java.lang.String missingParameter)
Constructor for MissingParameterException.MissingParameterException(java.lang.String missingParameter, java.lang.String[] requiredParameters)
Constructor for MissingParameterException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
getMessagejava.lang.String
getMissingParameter()
Getter for the fieldmissingParameter
.java.lang.String[]
getRequiredParameters()
Getter for the fieldrequiredParameters
.
-
-
-
Constructor Detail
-
MissingParameterException
public MissingParameterException(java.lang.String missingParameter)
Constructor for MissingParameterException.
- Parameters:
missingParameter
- aString
object.
-
MissingParameterException
public MissingParameterException(java.lang.String missingParameter, java.lang.String[] requiredParameters)
Constructor for MissingParameterException.
- Parameters:
missingParameter
- aString
object.requiredParameters
- an array ofString
objects.
-
-
Method Detail
-
getMissingParameter
public java.lang.String getMissingParameter()
Getter for the field
missingParameter
.- Returns:
- a
String
object.
-
getRequiredParameters
public java.lang.String[] getRequiredParameters()
Getter for the field
requiredParameters
.- Returns:
- an array of
String
objects.
-
getMessage
public java.lang.String getMessage()
getMessage
- Overrides:
getMessage
in classjava.lang.Throwable
- Returns:
- a
String
object.
-
-