public ExceptionHandlerResult LogAndSwallowException( ValueAdapterAction action, Exception exception) { WriteExceptionToDebug(action, exception); return(ExceptionHandlerResult.SwallowException); }
private void WriteExceptionToDebug(ValueAdapterAction action, Exception exception) { Debug.WriteLine( string.Format( "Exception {0} occured while {1} value from/to setting adapter. {2}.", exception.GetType().FullName, ActionNames[action], _context)); }