/// <summary> /// Copy constructor provided by convenience for derived classes. /// </summary> /// <param name="ex">The original exception to copy information from.</param> protected ConnectionException(ConnectionException ex) : this(ex.Message, ex.Response, ex.WebExceptionStatus) { }
/// <summary> /// Copy constructor provided by convenience for derived classes. /// </summary> /// <param name="ex">The original exception to copy information from.</param> protected ConnectionException(ConnectionException ex) { this.Response = ex.Response; this.WebExceptionStatus = ex.WebExceptionStatus; }
/// <summary> /// Copy constructor provided by convenience for derived classes. /// </summary> /// <param name="ex">The original exception to copy information from.</param> protected ConnectionException(ConnectionException ex) : this(ex.Message, ex.Response, ex.WebExceptionStatus, ex.Request) { }