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:
Serializable
public class MissingParameterException extends RuntimeException
MissingParameterException class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
missingParameter
protected String[]
requiredParameters
-
Constructor Summary
Constructors Constructor Description MissingParameterException(String missingParameter)
Constructor for MissingParameterException.MissingParameterException(String missingParameter, String[] requiredParameters)
Constructor for MissingParameterException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
getMessageString
getMissingParameter()
Getter for the fieldmissingParameter
.String[]
getRequiredParameters()
Getter for the fieldrequiredParameters
.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getMissingParameter
public String getMissingParameter()
Getter for the field
missingParameter
.- Returns:
- a
String
object.
-
getRequiredParameters
public String[] getRequiredParameters()
Getter for the field
requiredParameters
.- Returns:
- an array of
String
objects.
-
getMessage
public String getMessage()
getMessage
- Overrides:
getMessage
in classThrowable
- Returns:
- a
String
object.
-
-