Uses of Class
elki.utilities.optionhandling.ParameterException
-
Packages that use ParameterException Package Description elki.utilities.optionhandling Parameter handling and option descriptions.elki.utilities.optionhandling.constraints Constraints allow to restrict possible values for parameters.elki.utilities.optionhandling.parameterization Configuration managers.elki.utilities.optionhandling.parameters Classes for various typed parameters. -
-
Uses of ParameterException in elki.utilities.optionhandling
Subclasses of ParameterException in elki.utilities.optionhandling Modifier and Type Class Description class
UnspecifiedParameterException
Exception when a required parameter was not given.class
WrongParameterValueException
Thrown by a Parameterizable object in case of wrong parameter format. -
Uses of ParameterException in elki.utilities.optionhandling.constraints
Methods in elki.utilities.optionhandling.constraints that throw ParameterException Modifier and Type Method Description void
GreaterConstraint. test(java.lang.Number t)
Checks if the number value given by the number parameter is greater than the constraint value.void
GreaterEqualConstraint. test(java.lang.Number t)
Checks if the number value given by the number parameter is greater equal than the constraint value.void
LessConstraint. test(java.lang.Number t)
Checks if the number value given by the number parameter is less than the constraint value.void
LessEqualConstraint. test(java.lang.Number t)
Checks if the number value given by the number parameter is less equal than the constraint value.void
ListEachNumberConstraint. test(T t)
void
ListSizeConstraint. test(java.lang.Object t)
Checks if the list parameter fulfills the size constraint.void
ParameterConstraint. test(T t)
Checks if the valuet
of the parameter to be tested fulfills the parameter constraint. -
Uses of ParameterException in elki.utilities.optionhandling.parameterization
Fields in elki.utilities.optionhandling.parameterization with type parameters of type ParameterException Modifier and Type Field Description (package private) java.util.List<ParameterException>
AbstractParameterization. errors
Errors(package private) java.util.List<ParameterException>
UnParameterization. errors
ErrorsMethods in elki.utilities.optionhandling.parameterization that return types with arguments of type ParameterException Modifier and Type Method Description java.util.Collection<ParameterException>
AbstractParameterization. getErrors()
java.util.Collection<ParameterException>
MergedParameterization. getErrors()
java.util.Collection<ParameterException>
Parameterization. getErrors()
Get the configuration errors thrown inParameterization.grab(elki.utilities.optionhandling.parameters.Parameter<?>)
java.util.Collection<ParameterException>
TrackParameters. getErrors()
java.util.Collection<ParameterException>
UnParameterization. getErrors()
Methods in elki.utilities.optionhandling.parameterization with parameters of type ParameterException Modifier and Type Method Description void
AbstractParameterization. reportError(ParameterException e)
void
ChainedParameterization. reportError(ParameterException e)
void
MergedParameterization. reportError(ParameterException e)
void
Parameterization. reportError(ParameterException e)
Report a configuration error.void
TrackParameters. reportError(ParameterException e)
void
UnParameterization. reportError(ParameterException e)
Methods in elki.utilities.optionhandling.parameterization that throw ParameterException Modifier and Type Method Description boolean
ChainedParameterization. setValueForOption(Parameter<?> opt)
boolean
ListParameterization. setValueForOption(Parameter<?> opt)
boolean
MergedParameterization. setValueForOption(Parameter<?> opt)
boolean
Parameterization. setValueForOption(Parameter<?> opt)
Assign a value for an option, but not using default values and throwing exceptions on error.boolean
SerializedParameterization. setValueForOption(Parameter<?> opt)
boolean
TrackParameters. setValueForOption(Parameter<?> opt)
-
Uses of ParameterException in elki.utilities.optionhandling.parameters
Methods in elki.utilities.optionhandling.parameters that throw ParameterException Modifier and Type Method Description boolean
AbstractParameter. isValid(java.lang.Object obj)
boolean
Parameter. isValid(java.lang.Object obj)
Checks if the given argument is valid for this option.protected abstract T
AbstractParameter. parseValue(java.lang.Object obj)
Parse a given value into the destination type.protected java.util.List<java.lang.Class<? extends C>>
ClassListParameter. parseValue(java.lang.Object obj)
protected java.lang.Class<? extends C>
ClassParameter. parseValue(java.lang.Object obj)
protected java.util.List<double[]>
DoubleArrayListParameter. parseValue(java.lang.Object obj)
protected double[]
DoubleListParameter. parseValue(java.lang.Object obj)
protected E
EnumParameter. parseValue(java.lang.Object obj)
protected java.util.List<java.net.URI>
FileListParameter. parseValue(java.lang.Object obj)
protected java.net.URI
FileParameter. parseValue(java.lang.Object obj)
protected java.lang.Boolean
Flag. parseValue(java.lang.Object obj)
protected IntGenerator
IntGeneratorParameter. parseValue(java.lang.Object obj)
protected int[]
IntListParameter. parseValue(java.lang.Object obj)
protected java.lang.Integer
IntParameter. parseValue(java.lang.Object obj)
protected java.lang.Long
LongParameter. parseValue(java.lang.Object obj)
protected java.util.List<java.lang.Class<? extends C>>
ObjectListParameter. parseValue(java.lang.Object obj)
protected java.lang.Class<? extends C>
ObjectParameter. parseValue(java.lang.Object obj)
protected java.util.regex.Pattern
PatternParameter. parseValue(java.lang.Object obj)
protected RandomFactory
RandomParameter. parseValue(java.lang.Object obj)
protected java.lang.String
StringParameter. parseValue(java.lang.Object obj)
void
AbstractParameter. setValue(java.lang.Object obj)
void
ObjectParameter. setValue(java.lang.Object obj)
void
Parameter. setValue(java.lang.Object obj)
Sets the value of the option.void
RandomParameter. setValue(java.lang.Object obj)
protected boolean
AbstractParameter. validate(T obj)
Validate a value after parsing (e.g., do constraint checks!)protected boolean
ClassListParameter. validate(java.util.List<java.lang.Class<? extends C>> obj)
boolean
ClassParameter. validate(java.lang.Class<? extends C> obj)
Checks if the given parameter value is valid for this ClassParameter.protected boolean
FileListParameter. validate(java.util.List<java.net.URI> obj)
protected boolean
FileParameter. validate(java.net.URI obj)
protected boolean
Flag. validate(java.lang.Boolean obj)
-