Class InvalidParameterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.moeaframework.core.FrameworkException
org.moeaframework.analysis.parameter.InvalidParameterException
- All Implemented Interfaces:
Serializable
An exception indicating a parameter is invalid.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidParameterException
(String parameterName, String message) Constructs a new exception for an invalid parameter. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidParameterException
Constructs a new exception for an invalid parameter.- Parameters:
parameterName
- the name of the parametermessage
- the reason the parameter is invalid
-