| Modifier and Type | Method and Description |
|---|---|
HandlingResult<E> |
ExceptionHandler.handle(T exception)
Handles the given
exception. |
<T extends Throwable,E> |
ErrorHandlerImpl.handle(T exception) |
<T extends Throwable,E> |
ErrorHandler.handle(T exception)
Handles the given
exception,
returning as a result an object with the data to be returned to the API consumer. |
static <T> HandlingResult<T> |
HandlingResult.justErrorCode(int httpErrorCode) |
static <T> HandlingResult<T> |
HandlingResult.withPayload(int httpErrorCode,
T errorRepresentationEntity) |
Copyright © 2018. All rights reserved.