public class

ForbiddenWebException

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

Class Overview

This exception is thrown when a caller does not have permission to access a JIRA REST resource.

Summary

Public Constructors
ForbiddenWebException()
Creates a new ForbiddenWebException for the given issue.
ForbiddenWebException(ErrorCollection errors)
Creates a new ForbiddenWebException for the given issue, with a collection of errors.
[Expand]
Inherited Methods
From class javax.ws.rs.WebApplicationException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ForbiddenWebException ()

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

public ForbiddenWebException (ErrorCollection errors)

Creates a new ForbiddenWebException for the given issue, with a collection of errors.

Parameters
errors an ErrorCollection containing the errors