public class ParameterValueException extends UsageException
Note each of the constructors takes the parameter in question as its first argument.
Constructor and Description |
---|
ParameterValueException(Parameter<?> par) |
ParameterValueException(Parameter<?> par,
String message) |
ParameterValueException(Parameter<?> par,
String message,
Throwable cause) |
ParameterValueException(Parameter<?> par,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Parameter<?> |
getParameter()
Returns the parameter with which this exception is associated.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ParameterValueException(Parameter<?> par)
public ParameterValueException(Parameter<?> par, String message, Throwable cause)
public Parameter<?> getParameter()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.