/// <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)
 {
 }
 /// <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)
 {
 }