public class WrongParameterValueException extends ParameterException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Generated serial version UID.
|
Constructor and Description |
---|
WrongParameterValueException(Parameter<?> parameter,
String read)
Thrown by a Parameterizable object in case of wrong parameter format.
|
WrongParameterValueException(Parameter<?> parameter,
String read,
String reason)
Thrown by a Parameterizable object in case of wrong parameter format.
|
WrongParameterValueException(Parameter<?> parameter,
String read,
String reason,
Throwable cause)
Thrown by a Parameterizable object in case of wrong parameter format.
|
WrongParameterValueException(Parameter<?> parameter,
String read,
Throwable cause)
Thrown by a Parameterizable object in case of wrong parameter format.
|
WrongParameterValueException(String message)
Thrown by a Parameterizable object in case of wrong parameter format.
|
WrongParameterValueException(String message,
Throwable e)
Thrown by a Parameterizable object in case of wrong parameter format.
|
Modifier and Type | Method and Description |
---|---|
private static String |
formatCause(Throwable cause)
Format the error cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
public WrongParameterValueException(Parameter<?> parameter, String read)
parameter
- the parameter that has a wrong valueread
- the value of the parameter read by the option handlerpublic WrongParameterValueException(Parameter<?> parameter, String read, Throwable cause)
parameter
- the parameter that has a wrong valueread
- the value of the parameter read by the option handlercause
- the causepublic WrongParameterValueException(Parameter<?> parameter, String read, String reason, Throwable cause)
parameter
- the parameter that has a wrong valueread
- the value of the parameter read by the option handlerreason
- detailed error descriptioncause
- the causepublic WrongParameterValueException(Parameter<?> parameter, String read, String reason)
parameter
- the parameter that has a wrong valueread
- the value of the parameter read by the option handlerreason
- detailed error descriptionpublic WrongParameterValueException(String message)
message
- detail messageCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.