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