class AbstractIntegrationPoint implements IntegrationPoint {

    protected QueryManager qm;

    public void setQueryManager(final QueryManager qm) {
        this.qm = qm;
    }

    public void handleUnexpectedHttpResponse(final Logger logger, final String url, final int statusCode, final String statusText) {
        logger.error("An error occurred while communicating with the " + name() + " integration point");
        logger.error("HTTP Status : " + statusCode + " " + statusText);
        logger.error("Request URL : " + url);
        Notification.dispatch(new Notification()
                .scope(NotificationScope.SYSTEM)
                .group(NotificationGroup.INTEGRATION)
                .title(NotificationConstants.Title.INTEGRATION_ERROR)
                .content("An error occurred while communicating with the " + name()+ " integration point. URL: " + url + " - HTTP Status: " + statusCode + ". Check log for details." )
                .level(NotificationLevel.ERROR)
        );
    }

    public void handleException(final Logger logger, final Exception e) {<FILL_FUNCTION_BODY>}
}

        logger.error("An error occurred with the " + name() + " integration point", e);
        Notification.dispatch(new Notification()
                .scope(NotificationScope.SYSTEM)
                .group(NotificationGroup.INTEGRATION)
                .title(NotificationConstants.Title.INTEGRATION_ERROR)
                .content("An error occurred with the " + name() + " integration point. Check log for details. " + e.getMessage())
                .level(NotificationLevel.ERROR)
        );
    
<no_super_class>