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