/// <summary> /// Create a new exception /// </summary> /// <param name="errorCode">Error code for the exception</param> /// <param name="message">Error message</param> public GCalExchangeException(GCalExchangeErrorCode errorCode, string message) : base(message) { this.errorCode = errorCode; }
/// <summary> /// Create new exception /// </summary> /// <param name="errorCode">Error code for the exception</param> /// <param name="message">Error message</param> /// <param name="innerException">Root cause exception</param> public GCalExchangeException(GCalExchangeErrorCode errorCode, string message, Exception innerException) : base(message, innerException) { this.errorCode = errorCode; }
/// <summary> /// Create a new exception /// </summary> /// <param name="errorCode">Error code of the exception</param> public GCalExchangeException(GCalExchangeErrorCode errorCode) { this.errorCode = errorCode; }