Class NotAuthorisedWebException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.ws.rs.WebApplicationException
com.atlassian.jira.rest.exception.NotAuthorisedWebException
All Implemented Interfaces:
Serializable

public class NotAuthorisedWebException extends javax.ws.rs.WebApplicationException
This exception is thrown when a caller is not authorised to access a JIRA REST resource.
Since:
v4.2
See Also:
  • Constructor Details

    • NotAuthorisedWebException

      public NotAuthorisedWebException()
      Creates a new NotAuthorisedWebException. Whenever possible it is preferable to use NotAuthorisedWebException(com.atlassian.jira.rest.api.util.ErrorCollection) constructor, passing a collection of errors.
    • NotAuthorisedWebException

      public NotAuthorisedWebException(ErrorCollection errors)
      Creates a new NotAuthorisedWebException, with a collection of errors.
      Parameters:
      errors - an ErrorCollection containing the errors