Exemple #1
0
 public ExceptionManager(Exception targetException, string customInfo, bool isJustWarning)
 {
     if ((targetException is Autodesk.Revit.Exceptions.OperationCanceledException) == false)
     {
         ExceptionManagerUI exceptUI = new ExceptionManagerUI(targetException, customInfo, isJustWarning);
         exceptUI.ShowDialog();
     }
 }
Exemple #2
0
 internal ExceptionManager(Exception targetException)
 {
     if ((targetException is Autodesk.Revit.Exceptions.OperationCanceledException) == false)
     {
         ExceptionManagerUI exceptUI = new ExceptionManagerUI(targetException);
         exceptUI.ShowDialog();
     }
 }