class NotificationsObserver {

    @SuppressWarnings("unchecked")
    void onCanvasValidationFailEvent(final @Observes CanvasValidationFailEvent validationFailEvent) {
        final NotificationContext context = buildContext(validationFailEvent);

        //first call the executed notification
        handleValidationExecuted(context);

        handleValidationFailed(validationFailEvent, context);
    }

    @Inject public  NotificationsObserver(final ClientTranslationService translationService);
    protected  NotificationsObserver(ClientTranslationService translationService, NotificationBuilder notificationBuilder);

}