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