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