| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.lang.RuntimeException | ||||
| ↳ | javax.ws.rs.WebApplicationException | ||||
| ↳ | com.atlassian.jira.rest.v2.issue.RESTException | ||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new RESTException for the given issue.
| |||||||||||
Creates a new RESTException for the given issue, with a collection of errors.
| |||||||||||
Creates a new RESTException for the given issue, with a collection of errors.
| |||||||||||
Creates a new RESTException for the given issue and allows to nest an exception.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.ws.rs.WebApplicationException
| |||||||||||||||||||||||||||||||||
From class
java.lang.Throwable
| |||||||||||||||||||||||||||||||||
From class
java.lang.Object
| |||||||||||||||||||||||||||||||||
Creates a new RESTException for the given issue. Whenever possible it is preferable to use RESTException(javax.ws.rs.core.Response.Status, com.atlassian.jira.rest.api.util.ErrorCollection) constructor, passing a collection of
errors and the status
Creates a new RESTException for the given issue, with a collection of errors. The HTTP status is derived from the ErrorCollection.
| errors | an ErrorCollection containing the errors |
|---|
Creates a new RESTException for the given issue, with a collection of errors.
| status | the HTTP status of this error (401, 403, etc) |
|---|---|
| errors | an ErrorCollection containing the errors |
Creates a new RESTException for the given issue and allows to nest an exception.
| status | the HTTP status of this error (401, 403, etc) |
|---|---|
| cause | the nested exception that will be logged by the ExceptionInterceptor, before returning the response to the user. |

