class ApplicationControllerCallback implements ResponseHandler<T> {

    @Override
    public void onException(AppcClientException exception) {

        logger.info("ON EXCEPTION IN CALLBACK");
        logger.info("Exception from APPC: " + exception.getMessage());
        Status exceptionStatus = appCSupport.buildStatusFromAppcException(exception);
        completeExternalTask(externalTask, externalTaskService, exceptionStatus);
    }

    public  ApplicationControllerCallback(ExternalTask externalTask, ExternalTaskService externalTaskService,
            ApplicationControllerSupport appCSupport);

}