| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.ApplicationInsights.Query.Models |
| | 12 | | { |
| | 13 | | using Microsoft.Rest; |
| | 14 | |
|
| | 15 | | /// <summary> |
| | 16 | | /// Exception thrown for an invalid response with ErrorResponse |
| | 17 | | /// information. |
| | 18 | | /// </summary> |
| | 19 | | public partial class ErrorResponseException : RestException |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Gets information about the associated HTTP request. |
| | 23 | | /// </summary> |
| 0 | 24 | | public HttpRequestMessageWrapper Request { get; set; } |
| | 25 | |
|
| | 26 | | /// <summary> |
| | 27 | | /// Gets information about the associated HTTP response. |
| | 28 | | /// </summary> |
| 0 | 29 | | public HttpResponseMessageWrapper Response { get; set; } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Gets or sets the body object. |
| | 33 | | /// </summary> |
| 0 | 34 | | public ErrorResponse Body { get; set; } |
| | 35 | |
|
| | 36 | | /// <summary> |
| | 37 | | /// Initializes a new instance of the ErrorResponseException class. |
| | 38 | | /// </summary> |
| 0 | 39 | | public ErrorResponseException() |
| | 40 | | { |
| 0 | 41 | | } |
| | 42 | |
|
| | 43 | | /// <summary> |
| | 44 | | /// Initializes a new instance of the ErrorResponseException class. |
| | 45 | | /// </summary> |
| | 46 | | /// <param name="message">The exception message.</param> |
| | 47 | | public ErrorResponseException(string message) |
| 0 | 48 | | : this(message, null) |
| | 49 | | { |
| 0 | 50 | | } |
| | 51 | |
|
| | 52 | | /// <summary> |
| | 53 | | /// Initializes a new instance of the ErrorResponseException class. |
| | 54 | | /// </summary> |
| | 55 | | /// <param name="message">The exception message.</param> |
| | 56 | | /// <param name="innerException">Inner exception.</param> |
| | 57 | | public ErrorResponseException(string message, System.Exception innerException) |
| 0 | 58 | | : base(message, innerException) |
| | 59 | | { |
| 0 | 60 | | } |
| | 61 | | } |
| | 62 | | } |