/// <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; }
/// <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; }
/// <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; }