protected void ProcessError(Exception ex)
 {
     //note also used in CompleteDialog determining not to continue to next action
     FatalException = ex;
     if (ParentDialog != null)
     {
         ParentDialog.ProcessError(ex);
     }
     else
     {
         CompletionMessage = string.Format("Fatal error:\n{0}", ex.DisplayString());
         Controller.ShowCompletionScreen(this);
     }
 }
Example #2
0
 protected void ProcessError(Exception ex)
 {
     //note also used in CompleteDialog determining not to continue to next action
     FatalException = ex;
     if (ParentDialog != null)
     {
         ParentDialog.ProcessError(ex);
     }
     else
     {
         ApplicationController.LogEvent(DialogEventName + " Fatal Error", new Dictionary <string, string> {
             { "Is Error", true.ToString() }, { "Error", ex.Message }, { "Error Trace", ex.DisplayString() }
         });
         Controller.ShowCompletionScreen(this);
     }
 }