@ResponseStatus(value=BAD_REQUEST) public class InvalidRequestException extends RuntimeException
The requests response will be mapped to an appropriate HttpStatus.
| Constructor and Description |
|---|
InvalidRequestException(ValidationReport validationReport) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
ValidationReport |
getValidationReport() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidRequestException(ValidationReport validationReport)
public String getMessage()
getMessage in class Throwablepublic ValidationReport getValidationReport()
Copyright © 2016–2019 Atlassian. All rights reserved.