de.lmu.ifi.dbs.elki.utilities.optionhandling
Class WrongParameterValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.ParameterException
              extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.WrongParameterValueException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UnspecifiedParameterException

public class WrongParameterValueException
extends ParameterException

Thrown by a Parameterizable object in case of wrong parameter format.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Generated serial version UID.
 
Constructor Summary
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.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Generated serial version UID.

See Also:
Constant Field Values
Constructor Detail

WrongParameterValueException

public WrongParameterValueException(Parameter<?,?> parameter,
                                    String read)
Thrown by a Parameterizable object in case of wrong parameter format.

Parameters:
parameter - the parameter that has a wrong value
read - the value of the parameter read by the option handler

WrongParameterValueException

public WrongParameterValueException(Parameter<?,?> parameter,
                                    String read,
                                    Throwable cause)
Thrown by a Parameterizable object in case of wrong parameter format.

Parameters:
parameter - the parameter that has a wrong value
read - the value of the parameter read by the option handler
cause - the cause

WrongParameterValueException

public WrongParameterValueException(Parameter<?,?> parameter,
                                    String read,
                                    String reason,
                                    Throwable cause)
Thrown by a Parameterizable object in case of wrong parameter format.

Parameters:
parameter - the parameter that has a wrong value
read - the value of the parameter read by the option handler
reason - detailed error description
cause - the cause

WrongParameterValueException

public WrongParameterValueException(Parameter<?,?> parameter,
                                    String read,
                                    String reason)
Thrown by a Parameterizable object in case of wrong parameter format.

Parameters:
parameter - the parameter that has a wrong value
read - the value of the parameter read by the option handler
reason - detailed error description

WrongParameterValueException

public WrongParameterValueException(String message)
Thrown by a Parameterizable object in case of wrong parameter format.

Parameters:
message - detail message

WrongParameterValueException

public WrongParameterValueException(String message,
                                    Throwable e)
Thrown by a Parameterizable object in case of wrong parameter format.

Parameters:
message - detail message
e - cause

Release 0.4.0 (2011-09-20_1324)