/// <summary> /// Exception event as a NetworkMonitorEventListener /// </summary> /// <param name="ex"> Exception </param> public virtual void networkException(DeviceMonitorException ex) { if (ex.Exception is OneWireIOException) { Debug.Write(".IO."); } else { Debug.Write(ex); } Debug.WriteLine(ex.StackTrace.ToString()); }
/// <summary> /// Depart event as a NetworkMonitorEventListener /// </summary> /// <param name="owme"> DeviceMonitorException depart </param> public virtual void networkException(DeviceMonitorException dexc) { Debug.WriteLine("ERROR: " + dexc.ToString()); }