示例#1
0
 /// <summary>
 ///  Initializes a new instance of RfcException class with a specified error message
 /// </summary>
 /// <param name="message">The message that describes the error</param>
 /// <param name="errorInfo">RFC error info</param>
 public RfcException(string message, RfcErrorInfo errorInfo) : base(message)
 {
     ErrorInfo = errorInfo;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of RfcException class with a specified error message
 /// </summary>
 /// <param name="message"></param>
 /// <param name="innerException"></param>
 /// <param name="errorInfo">RFC error info</param>
 public RfcException(string message, Exception innerException, RfcErrorInfo errorInfo) : base(message, innerException)
 {
     ErrorInfo = errorInfo;
 }
示例#3
0
 /// <summary>
 ///  Initializes a new instance of RfcException class with a specified error message
 /// </summary>
 /// <param name="errorInfo">RFC error info</param>
 public RfcException(RfcErrorInfo errorInfo) : base(errorInfo.Message)
 {
     ErrorInfo = errorInfo;
 }