|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.ws.rs.WebApplicationException com.atlassian.jira.rest.BadRequestWebException
public class BadRequestWebException
This exception is thrown when a client provides invalid input to a REST resource.
Constructor Summary | |
---|---|
BadRequestWebException()
Creates a new BadRequestWebException for the given issue. |
|
BadRequestWebException(ErrorCollection errors)
Creates a new BadRequestWebException, with a collection of errors. |
|
BadRequestWebException(Throwable cause)
Creates a new BadRequestWebException. |
|
BadRequestWebException(Throwable cause,
ErrorCollection 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 |
---|
public BadRequestWebException()
BadRequestWebException(com.atlassian.jira.rest.api.util.ErrorCollection)
constructor, passing a collection of
errors.
public BadRequestWebException(Throwable cause)
cause
- the underlying cause of the exceptionpublic BadRequestWebException(ErrorCollection errors)
errors
- an ErrorCollection containing the errorspublic BadRequestWebException(Throwable cause, ErrorCollection errors)
cause
- the underlying cause of the exceptionerrors
- an ErrorCollection containing the errors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |