Modifier and Type | Method and Description |
---|---|
ErrorCollection |
MigrationStatusResource.TaskStatus.getErrorCollection() |
Modifier and Type | Method and Description |
---|---|
ErrorCollection |
BulkOperationErrorResult.getElementErrors() |
Constructor and Description |
---|
BulkOperationErrorResult(Integer status,
ErrorCollection elementErrors,
Integer failedElementNumber) |
Modifier and Type | Method and Description |
---|---|
ErrorCollection |
ErrorCollection.addErrorCollection(ErrorCollection errorCollection)
Adds all the errors and error messages that are in the given error collection to this error collection.
|
ErrorCollection |
ErrorCollection.addErrorCollection(ErrorCollection errorCollection)
Adds all the errors and error messages that are in the given error collection to this error collection.
|
ErrorCollection |
ErrorCollection.addErrorMessage(String errorMessage)
Adds the given error message to this error collection.
|
ErrorCollection |
ErrorCollection.addErrorMessages(Collection<String> messages)
Adds the given error messages to this error collection.
|
static ErrorCollection |
ErrorCollection.of(Collection<String> messages)
Returns a new ErrorCollection containing a list of error messages.
|
static ErrorCollection |
ErrorCollection.of(ErrorCollection errorCollection)
Returns a new ErrorCollection containing all the errors contained in the input error collection.
|
static ErrorCollection |
ErrorCollection.of(String... messages)
Returns a new ErrorCollection containing a list of error messages.
|
ErrorCollection |
ErrorCollection.reason(ErrorCollection.Reason reason) |
Modifier and Type | Method and Description |
---|---|
ErrorCollection |
ErrorCollection.addErrorCollection(ErrorCollection errorCollection)
Adds all the errors and error messages that are in the given error collection to this error collection.
|
Constructor and Description |
---|
BadRequestWebException(ErrorCollection errors)
Creates a new BadRequestWebException, with a collection of errors.
|
BadRequestWebException(Throwable cause,
ErrorCollection errors)
Creates a new BadRequestWebException, with a collection of errors and a cause.
|
ForbiddenWebException(ErrorCollection errors)
Creates a new ForbiddenWebException for the given issue, with a collection of errors.
|
NotAuthorisedWebException(ErrorCollection errors)
Creates a new NotAuthorisedWebException, with a collection of errors.
|
NotFoundWebException(ErrorCollection errors)
Creates a new NotFoundWebException, with a collection of errors.
|
NotFoundWebException(Throwable cause,
ErrorCollection errors)
Creates a new NotFoundWebException, with a collection of errors and a cause.
|
ServerErrorWebException(ErrorCollection errors)
Creates a new ServerErrorWebException, with a collection of errors.
|
ServerErrorWebException(Throwable cause,
ErrorCollection errors)
Creates a new ServerErrorWebException, with a collection of errors and a cause.
|
ServiceUnavailableException(ErrorCollection errors)
Creates a new ServiceUnavailableException, with a collection of errors.
|
Modifier and Type | Method and Description |
---|---|
ErrorCollection |
ErrorCollectionFactory.of(Collection<String> messages)
Returns a new ErrorCollection containing a list of error messages.
|
ErrorCollection |
ErrorCollectionFactory.of(ErrorCollection.Reason reason,
String message) |
ErrorCollection |
ErrorCollectionFactory.of(ErrorCollection errorCollection)
Returns a new ErrorCollection containing all the errors contained in the input error collection.
|
ErrorCollection |
ErrorCollectionFactory.of(String... messages)
Returns a new ErrorCollection containing a list of error messages.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
Responder.restfulErrors(ErrorCollection errors)
Converts an
ErrorCollection to a Response . |
Modifier and Type | Field and Description |
---|---|
static ErrorCollection |
RemoteIssueLinkResourceExamples.CREATE_OR_UPDATE_RESPONSE_400 |
static ErrorCollection |
IssueResourceExamples.CREATE_RESPONSE_400 |
static ErrorCollection |
ProjectValidateResource.DOC_EXAMPLE |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.WebApplicationException |
AssignIssueResource.error(ErrorCollection errors) |
protected javax.ws.rs.WebApplicationException |
CreateIssueResource.error(ErrorCollection errors) |
protected javax.ws.rs.WebApplicationException |
DeleteIssueResource.error(ErrorCollection errors) |
protected javax.ws.rs.WebApplicationException |
CreateIssueResource.error(javax.ws.rs.core.Response.Status status,
ErrorCollection errors) |
Constructor and Description |
---|
RESTException(ErrorCollection errors)
Creates a new RESTException for the given issue, with a collection of errors.
|
RESTException(javax.ws.rs.core.Response.Status status,
ErrorCollection errors)
Creates a new RESTException for the given issue, with a collection of errors.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ErrorCollection> |
ResultWithErrorsAndWarningsBean.getErrors() |
Map<String,ErrorCollection> |
ResultWithErrorsAndWarningsBean.getWarnings() |
Copyright © 2002-2021 Atlassian. All Rights Reserved.