Class ForbiddenWebException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.ws.rs.WebApplicationException
com.atlassian.jira.rest.exception.ForbiddenWebException
- All Implemented Interfaces:
Serializable
public class ForbiddenWebException
extends javax.ws.rs.WebApplicationException
This exception is thrown when a caller does not have permission to access a JIRA REST resource.
- Since:
- v5.0
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new ForbiddenWebException for the given issue.ForbiddenWebException
(ErrorCollection errors) Creates a new ForbiddenWebException for the given issue, with a collection of errors. -
Method Summary
Methods inherited from class javax.ws.rs.WebApplicationException
getResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ForbiddenWebException
public ForbiddenWebException()Creates a new ForbiddenWebException for the given issue. Whenever possible it is preferable to useForbiddenWebException(com.atlassian.jira.rest.api.util.ErrorCollection)
constructor, passing a collection of errors. -
ForbiddenWebException
Creates a new ForbiddenWebException for the given issue, with a collection of errors.- Parameters:
errors
- an ErrorCollection containing the errors
-