class EntitlementsExceptionMappingHandler implements ExceptionMappingHandler<EntitlementException, ResourceException> {

    @Override
    public ResourceException handleError(Context context, Request request, EntitlementException error) {
        return handleError(context, null, request, error);
    }

    @Inject public  EntitlementsExceptionMappingHandler(
            @Named(RESOURCE_ERROR_MAPPING) Map<Integer, Integer> errorCodeMapping,
            @Named(REQUEST_TYPE_ERROR_OVERRIDES) Map<RequestType, Map<Integer, Integer>> errorCodeOverrides,
            @Named(DEBUG_TYPE_OVERRIDES) Map<Integer, Integer> errorDebugMap);
    public  EntitlementsExceptionMappingHandler(Map<Integer, Integer> errorCodeMapping);

}