public class ParameterException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Serialization version
|
Constructor and Description |
---|
ParameterException(Parameter<?> p,
java.lang.String message)
Constructor.
|
ParameterException(Parameter<?> p,
java.lang.String message,
java.lang.Throwable cause)
Constructor.
|
ParameterException(java.lang.String message)
Constructor.
|
ParameterException(java.lang.String message,
java.lang.Throwable cause)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
prefixParametersToMessage(Parameter<?> p,
java.lang.String mid,
Parameter<?> p2,
java.lang.String message)
Prefix parameters to error message.
|
static java.lang.String |
prefixParameterToMessage(Parameter<?> p,
java.lang.String message)
Prefix parameter information to error message.
|
private static final long serialVersionUID
public ParameterException(Parameter<?> p, java.lang.String message)
p
- Parametermessage
- Error messagepublic ParameterException(Parameter<?> p, java.lang.String message, java.lang.Throwable cause)
p
- Parametermessage
- Error messagecause
- root causepublic ParameterException(java.lang.String message)
message
- Error messagepublic ParameterException(java.lang.String message, java.lang.Throwable cause)
message
- Error messagecause
- root causepublic static java.lang.String prefixParameterToMessage(Parameter<?> p, java.lang.String message)
p
- Parametermessage
- Error messageCopyright © 2019 ELKI Development Team. License information.