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