@Component public class ExternalSystemNotConfiguredExceptionMapper extends Object implements ExceptionMapper<ExternalSystemNotConfiguredException>
AUTHENTICATION_ERROR, AUTHORIZATION_ERROR, BAD_REQUEST, FORBIDDEN, ILLEGAL_PARAMETERS_ERROR, INTERNAL_ERROR, NOT_ACCEPTABLE, NOT_FOUND, OKAY, UNKNOWN_ERROR, VALIDATION_ERROR, WARNING| Constructor and Description |
|---|
ExternalSystemNotConfiguredExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
Class<ExternalSystemNotConfiguredException> |
getExceptionClass() |
Status |
mapException(ExternalSystemNotConfiguredException exception)
Maps the given exception to a status.
|
public ExternalSystemNotConfiguredExceptionMapper()
public Class<ExternalSystemNotConfiguredException> getExceptionClass()
getExceptionClass in interface ExceptionMapper<ExternalSystemNotConfiguredException>public Status mapException(ExternalSystemNotConfiguredException exception)
mapException in interface ExceptionMapper<ExternalSystemNotConfiguredException>exception - The exception to map.Copyright © 2019 Communote team. All rights reserved.