protected void RaiseBindingException(Exception exception, Exception originalException, BindingAction action) { BindingEventArgs args = null; var handler = BindingUpdated; if (handler != null) { args = new BindingEventArgs(action, exception, originalException); handler(this, args); } if (BindingServiceProvider.BindingExceptionHandler != null) { BindingServiceProvider.RaiseBindingException(this, args ?? new BindingEventArgs(action, exception, originalException)); } }