@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, toResponsepublic ExtensionNotSupportedExceptionMapper()
public String getErrorMessage(ExtensionNotSupportedException exception)
getErrorMessage in class AbstractExceptionMapper<ExtensionNotSupportedException>exception - thrownpublic int getStatusCode()
getStatusCode in class AbstractExceptionMapper<ExtensionNotSupportedException>Response.Status.INTERNAL_SERVER_ERRORCopyright © 2019 Communote team. All rights reserved.