< Summary

Class:Microsoft.Azure.HDInsight.Job.Models.JobOperationsErrorResponseException
Assembly:Microsoft.Azure.HDInsight.Job
File(s):C:\Git\azure-sdk-for-net\sdk\hdinsight\Microsoft.Azure.HDInsight.Job\src\Generated\Models\JobOperationsErrorResponseException.cs
Covered lines:6
Uncovered lines:3
Coverable lines:9
Total lines:62
Line coverage:66.6% (6 of 9)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_Request()-0%100%
get_Response()-100%100%
get_Body()-100%100%
.ctor()-0%100%
.ctor(...)-100%100%
.ctor(...)-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\hdinsight\Microsoft.Azure.HDInsight.Job\src\Generated\Models\JobOperationsErrorResponseException.cs

#LineLine coverage
 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
 11namespace Microsoft.Azure.HDInsight.Job.Models
 12{
 13    using Microsoft.Rest;
 14
 15    /// <summary>
 16    /// Exception thrown for an invalid response with
 17    /// JobOperationsErrorResponse information.
 18    /// </summary>
 19    public partial class JobOperationsErrorResponseException : RestException
 20    {
 21        /// <summary>
 22        /// Gets information about the associated HTTP request.
 23        /// </summary>
 024        public HttpRequestMessageWrapper Request { get; set; }
 25
 26        /// <summary>
 27        /// Gets information about the associated HTTP response.
 28        /// </summary>
 429        public HttpResponseMessageWrapper Response { get; set; }
 30
 31        /// <summary>
 32        /// Gets or sets the body object.
 33        /// </summary>
 434        public JobOperationsErrorResponse Body { get; set; }
 35
 36        /// <summary>
 37        /// Initializes a new instance of the JobOperationsErrorResponseException class.
 38        /// </summary>
 039        public JobOperationsErrorResponseException()
 40        {
 041        }
 42
 43        /// <summary>
 44        /// Initializes a new instance of the JobOperationsErrorResponseException class.
 45        /// </summary>
 46        /// <param name="message">The exception message.</param>
 47        public JobOperationsErrorResponseException(string message)
 248            : this(message, null)
 49        {
 250        }
 51
 52        /// <summary>
 53        /// Initializes a new instance of the JobOperationsErrorResponseException class.
 54        /// </summary>
 55        /// <param name="message">The exception message.</param>
 56        /// <param name="innerException">Inner exception.</param>
 57        public JobOperationsErrorResponseException(string message, System.Exception innerException)
 258            : base(message, innerException)
 59        {
 260        }
 61    }
 62}