Esempio n. 1
0
 protected void OnShowMessage(AGenValue sender, Exception e)
 {
     if (null != this.ShowMessage)
     {
         this.ShowMessage(sender, e);
     }
 }
Esempio n. 2
0
 public CFormatException(AGenValue decValue, string value)
     : base(string.Format("{0} is Format Error! ({1})", decValue.DispName, value))
 {
     Value    = decValue;
     InputStr = value;
 }
Esempio n. 3
0
 public CRangeErrorException(AGenValue value)
     : base(string.Format("{0} is Range Error! ({1} - {2})", value.DispName, value.Min, value.Max))
 {
     Value = value;
 }