protected virtual void OnLayerAddFailed(core.ExceptionEventArgs args)
 {
     if (LayerAddFailed != null)
     {
         LayerAddFailed(this, args);
     }
 }
 void SymbolConfigProvider_GetSymbolCategoriesFailed(object sender, ESRI.ArcGIS.Mapping.Core.ExceptionEventArgs e)
 {
     if (e.Exception != null)
     {
         MessageBoxDialog.Show(e.Exception.Message);
         Logger.Instance.LogError(e.Exception);
     }
 }
 void AddContentDialog_LayerAddFailed(object sender, ESRI.ArcGIS.Mapping.Core.ExceptionEventArgs e)
 {
     OnLayerAddFailed(e);
 }
 void SymbolConfigProvider_GetSymbolsForCategoryFailed(object sender, ESRI.ArcGIS.Mapping.Core.ExceptionEventArgs e)
 {
     Logger.Instance.LogError(e.Exception);
 }