com.atlassian.greenhopper.model.validation
Class JiraCopiedBadRequestWebException

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.JiraCopiedBadRequestWebException
All Implemented Interfaces:
java.io.Serializable

public class JiraCopiedBadRequestWebException
extends javax.ws.rs.WebApplicationException

This exception is thrown when a JIRA REST resource is not found, or it cannot be read for some other reason (such as security checks).

Since:
v4.4
See Also:
Serialized Form

Constructor Summary
JiraCopiedBadRequestWebException()
          Creates a new BadRequestWebException for the given issue.
JiraCopiedBadRequestWebException(JiraCopiedRestErrorCollection errors)
          Creates a new BadRequestWebException, with a collection of errors.
JiraCopiedBadRequestWebException(java.lang.Throwable cause)
          Creates a new BadRequestWebException.
JiraCopiedBadRequestWebException(java.lang.Throwable cause, JiraCopiedRestErrorCollection errors)
          Creates a new BadRequestWebException, with a collection of errors and a cause.
 
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

JiraCopiedBadRequestWebException

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


JiraCopiedBadRequestWebException

public JiraCopiedBadRequestWebException(java.lang.Throwable cause)
Creates a new BadRequestWebException.

Parameters:
cause - the underlying cause of the exception

JiraCopiedBadRequestWebException

public JiraCopiedBadRequestWebException(JiraCopiedRestErrorCollection errors)
Creates a new BadRequestWebException, with a collection of errors.

Parameters:
errors - an ErrorCollection containing the errors

JiraCopiedBadRequestWebException

public JiraCopiedBadRequestWebException(java.lang.Throwable cause,
                                        JiraCopiedRestErrorCollection errors)
Creates a new BadRequestWebException, with a collection of errors and a cause.

Parameters:
cause - the underlying cause of the exception
errors - an ErrorCollection containing the errors


Copyright © 2007-2012 Atlassian. All Rights Reserved.