T
- Type of the exception.public interface ExceptionMapper<T extends Throwable> extends ErrorCodes
AUTHENTICATION_ERROR, AUTHORIZATION_ERROR, BAD_REQUEST, FORBIDDEN, ILLEGAL_PARAMETERS_ERROR, INTERNAL_ERROR, NOT_ACCEPTABLE, NOT_FOUND, OKAY, UNKNOWN_ERROR, VALIDATION_ERROR, WARNING
Modifier and Type | Method and Description |
---|---|
Class<T> |
getExceptionClass() |
Status |
mapException(T exception)
Maps the given exception to a status.
|
Copyright © 2019 Communote team. All rights reserved.