Class JiraCopiedServerErrorWebException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.ws.rs.WebApplicationException
com.atlassian.greenhopper.model.validation.JiraCopiedServerErrorWebException
- All Implemented Interfaces:
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:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ServerErrorWebException for the given issue.Creates a new ServerErrorWebException, with a collection of errors.Creates a new ServerErrorWebException.Creates a new ServerErrorWebException, with a collection of errors and a cause. -
Method Summary
Methods inherited from class javax.ws.rs.WebApplicationException
getResponseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JiraCopiedServerErrorWebException
public JiraCopiedServerErrorWebException()Creates a new ServerErrorWebException for the given issue. Whenever possible it is preferable to useJiraCopiedServerErrorWebException(JiraCopiedRestErrorCollection)constructor, passing a collection of errors. -
JiraCopiedServerErrorWebException
Creates a new ServerErrorWebException.- Parameters:
cause- the underlying cause of the exception
-
JiraCopiedServerErrorWebException
Creates a new ServerErrorWebException, with a collection of errors.- Parameters:
errors- an ErrorCollection containing the errors
-
JiraCopiedServerErrorWebException
Creates a new ServerErrorWebException, with a collection of errors and a cause.- Parameters:
cause- the underlying cause of the exceptionerrors- an ErrorCollection containing the errors
-