예제 #1
0
 public HardwareErrorException(ErrorState error, object command)
     : base(string.Format("Error while sending command: {0} ({1})", command, error))
 {
     this.error = error;
 }
 public ErrorStateEventArgs(ErrorState error)
 {
     errState  = error;
     exception = null;
 }
예제 #3
0
 public HardwareErrorException(ErrorState error, Exception innerException = null)
     : base(string.Format("Hardware error occurred ({0})", error), innerException)
 {
     this.error = error;
 }