/// <summary> /// Generate an OnDemandClientException based on the data in the Error instance. /// </summary> /// <returns>An OnDemandClientException</returns> public Exception GenerateException() { OnDemandClientException odce = new OnDemandClientException(this.SimpleMessage, this.DetailedMessage, this.ReasonCode, this.HttpStatusCode); return(odce); }
/// <summary> /// Generate an OnDemandClientException based on the data in the Error instance. /// </summary> /// <returns>An OnDemandClientException</returns> public Exception GenerateException() { OnDemandClientException odce = new OnDemandClientException(this.SimpleMessage, this.DetailedMessage, this.ReasonCode, this.HttpStatusCode); return odce; }