@Component public class TooManyExternalObjectsPerTopicExceptionMapper extends Object implements ExceptionMapper<TooManyExternalObjectsPerTopicException>
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 |
---|
TooManyExternalObjectsPerTopicExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
Class<TooManyExternalObjectsPerTopicException> |
getExceptionClass() |
Status |
mapException(TooManyExternalObjectsPerTopicException exception)
Maps the given exception to a status.
|
public TooManyExternalObjectsPerTopicExceptionMapper()
public Class<TooManyExternalObjectsPerTopicException> getExceptionClass()
getExceptionClass
in interface ExceptionMapper<TooManyExternalObjectsPerTopicException>
public Status mapException(TooManyExternalObjectsPerTopicException exception)
mapException
in interface ExceptionMapper<TooManyExternalObjectsPerTopicException>
exception
- The exception to map.Copyright © 2019 Communote team. All rights reserved.