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