| Package | Description |
|---|---|
| org.oncoblocks.centromere.web.exceptions |
| Modifier and Type | Class and Description |
|---|---|
class |
DisabledEndpointException |
class |
InvalidParameterException
Exception thrown by invalid query string parameters for GET request queries.
|
class |
MalformedEntityException
406 error
|
class |
MethodNotAllowedException |
class |
ParameterMappingException |
class |
RequestFailureException
Generic 400 error
|
class |
ResourceNotFoundException
404 error when a single resource request returns null
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<RestError> |
RestExceptionHandler.handleRestException(RestException ex,
org.springframework.web.context.request.WebRequest request)
Catches a
RestException thrown bt a web service
controller and returns an informative message. |
Copyright © 2016. All rights reserved.