Package elki.utilities.optionhandling
Class UnspecifiedParameterException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- elki.utilities.optionhandling.ParameterException
-
- elki.utilities.optionhandling.WrongParameterValueException
-
- elki.utilities.optionhandling.UnspecifiedParameterException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnspecifiedParameterException extends WrongParameterValueException
Exception when a required parameter was not given.- Since:
- 0.2
- Author:
- Erich Schubert
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
parameter
Parameter that was missing.private static long
serialVersionUID
Serial UID
-
Constructor Summary
Constructors Constructor Description UnspecifiedParameterException(Parameter<?> parameter)
Constructor with missing Parameter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getParameterName()
Get the parameter name that was missing.-
Methods inherited from class elki.utilities.optionhandling.ParameterException
prefixParametersToMessage, prefixParameterToMessage
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serial UID- See Also:
- Constant Field Values
-
parameter
private final java.lang.String parameter
Parameter that was missing.
-
-
Constructor Detail
-
UnspecifiedParameterException
public UnspecifiedParameterException(Parameter<?> parameter)
Constructor with missing Parameter- Parameters:
parameter
- Missing parameter
-
-