java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.lang.RuntimeException | ||||
↳ | javax.ws.rs.WebApplicationException | ||||
↳ | com.atlassian.jira.rest.exception.BadRequestWebException |
This exception is thrown when a client provides invalid input to a REST resource.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new BadRequestWebException for the given issue.
| |||||||||||
Creates a new BadRequestWebException.
| |||||||||||
Creates a new BadRequestWebException, with a collection of errors.
| |||||||||||
Creates a new BadRequestWebException, with a collection of errors and a cause.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.ws.rs.WebApplicationException
| |||||||||||||||||||||||||||||||||||||
From class
java.lang.Throwable
| |||||||||||||||||||||||||||||||||||||
From class java.lang.Object |
Creates a new BadRequestWebException for the given issue. Whenever possible it is preferable to use BadRequestWebException(com.atlassian.jira.rest.api.util.ErrorCollection)
constructor, passing a collection of
errors.
Creates a new BadRequestWebException.
cause | the underlying cause of the exception |
---|
Creates a new BadRequestWebException, with a collection of errors.
errors | an ErrorCollection containing the errors |
---|
Creates a new BadRequestWebException, with a collection of errors and a cause.
cause | the underlying cause of the exception |
---|---|
errors | an ErrorCollection containing the errors |