public static class ParameterStore.ParameterException
extends java.lang.RuntimeException
Exception type that indicates an error with one of the parameters. This most commonly would be a missing required value, but it may also represent invalid data provided.
When used inside ScriptRunner it will cause a description of set parameters
provided by ParameterStore.getPossibleParameters() to be printed to the user.
| Constructor and Description |
|---|
ParameterException(java.lang.String msg)
Constructs a new
ParameterStore.ParameterException with a provided message to indicate the
specific parameter violation. |
ParameterException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a new
ParameterStore.ParameterException with a provided message to indicate the
specific parameter violation, as well as an exception which represents the failure. |
ParameterException(java.lang.Throwable cause)
Constructs a new
ParameterStore.ParameterException with a cause exception which represents
the failure. |
public ParameterException(java.lang.String msg)
ParameterStore.ParameterException with a provided message to indicate the
specific parameter violation.msg - Message to describe the parameter errorpublic ParameterException(java.lang.Throwable cause)
ParameterStore.ParameterException with a cause exception which represents
the failure.cause - Exception which represents the initial failure from a provided parameterpublic ParameterException(java.lang.String msg,
java.lang.Throwable cause)
ParameterStore.ParameterException with a provided message to indicate the
specific parameter violation, as well as an exception which represents the failure.msg - Message to describe the parameter errorcause - Exception which represents the failure