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