com.atlassian.greenhopper.model.validation
Class JiraCopiedServerErrorWebException

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

public class JiraCopiedServerErrorWebException
extends javax.ws.rs.WebApplicationException

This exception is thrown when a JIRA REST resource aborts in an unforeseen manner.

Since:
v4.4
See Also:
Serialized Form

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

JiraCopiedServerErrorWebException

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


JiraCopiedServerErrorWebException

public JiraCopiedServerErrorWebException(java.lang.Throwable cause)
Creates a new ServerErrorWebException.

Parameters:
cause - the underlying cause of the exception

JiraCopiedServerErrorWebException

public JiraCopiedServerErrorWebException(JiraCopiedRestErrorCollection errors)
Creates a new ServerErrorWebException, with a collection of errors.

Parameters:
errors - an ErrorCollection containing the errors

JiraCopiedServerErrorWebException

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

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


Copyright © 2007-2013 Atlassian. All Rights Reserved.