public class

NotFoundWebException

extends WebApplicationException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ javax.ws.rs.WebApplicationException
           ↳ com.atlassian.jira.rest.exception.NotFoundWebException

Class Overview

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).

Summary

Public Constructors
NotFoundWebException()
Creates a new NotFoundWebException for the given issue.
NotFoundWebException(Throwable cause)
Creates a new NotFoundWebException.
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.
[Expand]
Inherited Methods
From class javax.ws.rs.WebApplicationException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public NotFoundWebException ()

Creates a new NotFoundWebException for the given issue. Whenever possible it is preferable to use NotFoundWebException(com.atlassian.jira.rest.api.util.ErrorCollection) constructor, passing a collection of errors.

public NotFoundWebException (Throwable cause)

Creates a new NotFoundWebException.

Parameters
cause the underlying cause of the exception

public NotFoundWebException (ErrorCollection errors)

Creates a new NotFoundWebException, with a collection of errors.

Parameters
errors an ErrorCollection containing the errors

public NotFoundWebException (Throwable cause, ErrorCollection errors)

Creates a new NotFoundWebException, with a collection of errors and a cause.

Parameters
cause the underlying cause of the exception
errors an ErrorCollection containing the errors