@Provider public class NoBlogManagerLeftExceptionMapper extends AbstractExceptionMapper<NoBlogManagerLeftException>
Constructor and Description |
---|
NoBlogManagerLeftExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage(NoBlogManagerLeftException exception)
Get the message of the exception in mapper.
|
int |
getStatusCode() |
getCurrentUserLocale, getLocalizedMessage, handle, toResponse
public String getErrorMessage(NoBlogManagerLeftException exception)
AbstractExceptionMapper
getErrorMessage
in class AbstractExceptionMapper<NoBlogManagerLeftException>
exception
- thrownpublic int getStatusCode()
getStatusCode
in class AbstractExceptionMapper<NoBlogManagerLeftException>
Response.Status.FORBIDDEN
Copyright © 2019 Communote team. All rights reserved.