Exemple #1
0
 /// <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)
 {
 }
Exemple #2
0
 /// <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;
 }