java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | com.atlassian.jira.util.ValidationFailureException |
A validation exception is essentially a "throwable" error collection.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new ValidationFailureException with a single error message.
| |||||||||||
Constructs a new ValidationFailureException with a single error message and a cause.
| |||||||||||
Constructs a new ValidationFailureException initialised with a collection of errors.
| |||||||||||
Constructs a new ValidationFailureException with an error message, a collection of errors, and a cause.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the validation errors.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||||||||||||||||
![]() |
Constructs a new ValidationFailureException with a single error message.
message | a String containing an error message |
---|
Constructs a new ValidationFailureException with a single error message and a cause.
message | a String containing an error message |
---|---|
throwable | the Throwable that caused the validation failure |
Constructs a new ValidationFailureException initialised with a collection of errors.
errors | an ErrorCollection containing collection of validation errors |
---|
Constructs a new ValidationFailureException with an error message, a collection of errors, and a cause.
message | a String containing an error message |
---|---|
errors | an ErrorCollection containing collection of validation errors |
throwable | the Throwable that caused the validation failure |