com.atlassian.greenhopper.model.validation
Class JiraCopiedNotAuthorisedWebException

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.greenhopper.model.validation.JiraCopiedNotAuthorisedWebException
All Implemented Interfaces:
java.io.Serializable

public class JiraCopiedNotAuthorisedWebException
extends javax.ws.rs.WebApplicationException

This exception is thrown when a caller is not authorised to access a JIRA REST resource.

See Also:
Serialized Form

Constructor Summary
JiraCopiedNotAuthorisedWebException()
          Creates a new JiraCopiedNotAuthorisedWebException for the given issue.
JiraCopiedNotAuthorisedWebException(JiraCopiedRestErrorCollection errors)
          Creates a new NotAuthorisedWebException 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

JiraCopiedNotAuthorisedWebException

public JiraCopiedNotAuthorisedWebException()
Creates a new JiraCopiedNotAuthorisedWebException for the given issue. Whenever possible it is preferable to use JiraCopiedNotAuthorisedWebException(JiraCopiedRestErrorCollection) constructor, passing a collection of errors.


JiraCopiedNotAuthorisedWebException

public JiraCopiedNotAuthorisedWebException(JiraCopiedRestErrorCollection errors)
Creates a new NotAuthorisedWebException for the given issue, with a collection of errors.

Parameters:
errors - an ErrorCollection containing the errors


Copyright © 2007-2012 Atlassian. All Rights Reserved.