java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | com.atlassian.renderer.v2.macro.MacroException | |||
↳ | com.atlassian.confluence.macro.params.ParameterException |
Thrown when there is a problem while processing a parameter.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor that captures failure information so more useful feedback
can be provided to the user.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns acceptable values of this parameter.
| |||||||||||
Returns the name of the parameter that caused the problem.
| |||||||||||
Returns the (invalid) value of the parameter that caused the problem.
| |||||||||||
Sets acceptable values of this parameter.
| |||||||||||
Sets the name of the parameter that caused the problem.
| |||||||||||
Sets the (invalid) value of the parameter that caused the problem.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Constructor that captures failure information so more useful feedback can be provided to the user.
cause | the underlying cause, if any |
---|---|
name | the name of the parameter with the error |
value | the (invalid) value that caused the problem |
acceptableValues | acceptable values for the parameter |
Returns acceptable values of this parameter.
Returns the name of the parameter that caused the problem.
Returns the (invalid) value of the parameter that caused the problem.
Sets acceptable values of this parameter.
acceptableValues | acceptable values of this parameter |
---|
Sets the name of the parameter that caused the problem.
name | the name of the parameter that caused the problem |
---|
Sets the (invalid) value of the parameter that caused the problem.
value | the (invalid) value of the parameter that caused the problem |
---|