コード例 #1
0
 public HardwareErrorException(ErrorState error, object command)
     : base(string.Format("Error while sending command: {0} ({1})", command, error))
 {
     this.error = error;
 }
コード例 #2
0
 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;
 }