java.lang.Object | |
↳ | com.atlassian.jira.rest.api.util.ErrorCollection |
A JAXB representation of an ErrorCollection
useful for returning via JSON or XML.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds all the errors and error messages that are in the given error collection to this error collection.
| |||||||||||
Adds the given error message to this error collection.
| |||||||||||
Adds the given error messages to this error collection.
| |||||||||||
Returns true if this error collection contains errors or error messages.
| |||||||||||
Returns a new ErrorCollection containing a list of error messages.
| |||||||||||
Returns a new ErrorCollection containing a list of error messages.
| |||||||||||
Returns a new ErrorCollection containing all the errors contained in the input error collection.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Adds all the errors and error messages that are in the given error collection to this error collection.
errorCollection | an ErrorCollection |
---|
Adds the given error message to this error collection.
errorMessage | a String containing an error message |
---|
Adds the given error messages to this error collection.
messages | a collection of Strings containing error messages |
---|
Returns true if this error collection contains errors or error messages.
Returns a new ErrorCollection containing a list of error messages.
messages | an array of Strings containing error messages |
---|
Returns a new ErrorCollection containing a list of error messages.
messages | an Iterable of Strings containing error messages |
---|
Returns a new ErrorCollection containing all the errors contained in the input error collection.
errorCollection | a com.atlassian.jira.util.ErrorCollection |
---|