Example #1
0
        /// <summary>
        /// Constructs an instance of ApiException
        /// </summary>
        /// <param name="innerException">The inner exception</param>
        protected ApiException(ApiException innerException)
        {
            Ensure.ArgumentNotNull(innerException, "innerException");

            StatusCode = innerException.StatusCode;
            ApiError = innerException.ApiError;
        }
 /// <summary>
 /// Constructs an instance of ApiValidationException
 /// </summary>
 /// <param name="innerException">The inner exception</param>
 protected ApiValidationException(ApiException innerException)
     : base(innerException)
 {
 }
 /// <summary>
 /// Constructs an instance of ApiValidationException
 /// </summary>
 /// <param name="innerException">The inner exception</param>
 protected ApiValidationException(ApiException innerException)
     : base(innerException)
 {
 }