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