Object
Throwable
Exception
RuntimeException
IllegalArgumentException
ParameterNotFoundException
- All Implemented Interfaces:
Serializable
Thrown by parameter groups
(value and descriptor)
when a parameter is requested but not found in that group.
This exception is typically thrown by the following methods:
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorDescriptionParameterNotFoundException
(String message, String parameterName) Creates an exception with the specified message and parameter name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the parameter which was required but not found.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParameterNotFoundException
Creates an exception with the specified message and parameter name.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.parameterName
- the name of the parameter which was required but not found.
-
-
Method Details
-
getParameterName
Returns the name of the parameter which was required but not found.- Returns:
- the required parameter name.
-