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