private static void AlarmListener2(object sender, Alarm.AlarmEventArgs e) { Console.WriteLine("Alarm 2 called by " + e.Location); }
private static void AlarmListener1(object sender, Alarm.AlarmEventArgs e) { Console.WriteLine("Alarm 1 called by " + e.Location); throw new Exception("boom"); }