java.lang.Object | |
↳ | com.atlassian.jira.util.SimpleErrorCollection |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a field-specific error message.
| |||||||||||
Add a field-specific error message.
| |||||||||||
Populate this ErrorCollection with general and field-specific errors.
| |||||||||||
Add error message relating to system state (not field-specific).
| |||||||||||
Add error message relating to system state (not field-specific), and a reason.
| |||||||||||
Append new error messages to those already collected.
| |||||||||||
Append new field-specific errors to those already collected.
| |||||||||||
Add a reason why the function has not been performed.
| |||||||||||
Add reasons why the function has not been performed.
| |||||||||||
Get all non field-specific error messages.
| |||||||||||
Get all field-specific errors.
| |||||||||||
Get error messages, then get rid of them.
| |||||||||||
A set of well known reasons why the function has not been performed.
| |||||||||||
Whether any errors (of any type - field-specific or otherwise) have been collected.
| |||||||||||
Populate this ErrorCollection with a new set of messages (existing errors are lost).
| |||||||||||
Set reasons why the function has not been performed.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.util.ErrorCollection
|
Add a field-specific error message.
field | Field name, eg. "assignee" |
---|---|
message | Error message. |
reason | Reason for the error. |
Add a field-specific error message.
field | Field name, eg. "assignee" |
---|---|
message | Error message. |
Populate this ErrorCollection with general and field-specific errors.
errors | ErrorCollection whose errors/messages we obtain. |
---|
Add error message relating to system state (not field-specific).
message | Error message. |
---|
Add error message relating to system state (not field-specific), and a reason.
message | Error message. |
---|---|
reason | Reason for the error. |
Append new error messages to those already collected.
incomingMessages | Collection of error strings. |
---|
Append new field-specific errors to those already collected.
incomingErrors | of String: String pairs, eg. {"assignee": "Assignee is required"} |
---|
Add a reason why the function has not been performed. The reasons may be used by callers of services to set return codes etc. for example in REST services.
reason | a well known reasons why the function has not been performed. |
---|
Add reasons why the function has not been performed. The reasons may be used by callers of services to set return codes etc. for example in REST services.
reasons | a set of well known reasons why the function has not been performed. |
---|
Get all non field-specific error messages.
Get all field-specific errors.
Get error messages, then get rid of them.
A set of well known reasons why the function has not been performed. The reasons may be used by callers of services to set return codes etc. for example in REST services.
Whether any errors (of any type - field-specific or otherwise) have been collected.
Populate this ErrorCollection with a new set of messages (existing errors are lost).
errorMessages | List of error message String s.
|
---|
Set reasons why the function has not been performed. The reasons may be used by callers of services to set return codes etc. for example in REST services.
reasons | a set of well known reasons why the function has not been performed. |
---|