示例#1
0
 protected SmsFormatException(ISms sms, EnSmsFormat enSmsFormat, string message)
     : base(message)
 {
     _enSmsFormat = enSmsFormat;
     _sms = sms;
 }
示例#2
0
 public SmsFormatException(ISms sms, EnSmsFormat enSmsFormat)
     : base(string.Format("Invalid SMS format - Reason: {0}", enSmsFormat))
 {
     _enSmsFormat = enSmsFormat;
     _sms = sms;
 }