package

com.atlassian.jira.rest.exception

Classes

ExceptionInterceptor This interceptor creates responses for any exceptions thrown from a resource method. 
JiraEOFExceptionMapper  
JiraExceptionMapper<E extends Throwable> Abstract class that allows for simple formatting of errors as BAD_REQUEST responses. 
JiraJsonMappingExceptionMapper  
JiraJsonParseExceptionMapper Implementation of ExceptionMapper to send down a "400 Bad Request" in the event unparsable JSON is received. 

Exceptions

BadRequestWebException This exception is thrown when a client provides invalid input to a REST resource. 
ForbiddenWebException This exception is thrown when a caller does not have permission to access a JIRA REST resource. 
NotAuthorisedWebException This exception is thrown when a caller is not authorised to access a JIRA REST resource. 
NotFoundWebException This exception is thrown when a JIRA REST resource is not found, or it cannot be read for some other reason (such as security checks). 
ServerErrorWebException This exception is thrown when a JIRA REST resource aborts in an unforeseen manner).