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