com.atlassian.jira.rest
Class ForbiddenWebException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.ws.rs.WebApplicationException
                  extended by com.atlassian.jira.rest.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:
Serialized Form

Constructor Summary
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.
 
Method Summary
 
Methods inherited from class javax.ws.rs.WebApplicationException
getResponse
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForbiddenWebException

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.


ForbiddenWebException

public ForbiddenWebException(ErrorCollection errors)
Creates a new ForbiddenWebException for the given issue, with a collection of errors.

Parameters:
errors - an ErrorCollection containing the errors


Copyright © 2002-2012 Atlassian. All Rights Reserved.