< Summary

Class:Azure.Messaging.EventHubs.DeveloperCodeException
Assembly:Azure.Messaging.EventHubs
File(s):C:\Git\azure-sdk-for-net\sdk\eventhub\Azure.Messaging.EventHubs\src\Core\DeveloperCodeException.cs
Covered lines:2
Uncovered lines:0
Coverable lines:2
Total lines:30
Line coverage:100% (2 of 2)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\eventhub\Azure.Messaging.EventHubs\src\Core\DeveloperCodeException.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5using System.Diagnostics.CodeAnalysis;
 6
 7namespace Azure.Messaging.EventHubs
 8{
 9    /// <summary>
 10    ///   Serves an marker for an exception occurring within developer-provided code, such as
 11    ///   event handlers.  Such exceptions are typically intended to be explicitly not handled by
 12    ///   the infrastructure of the various Event Hubs types.
 13    /// </summary>
 14    ///
 15    /// <seealso cref="System.Exception" />
 16    ///
 17    [SuppressMessage("Design", "CA1064:Exceptions should be public", Justification = "This exception is not visible to u
 18    internal class DeveloperCodeException : Exception
 19    {
 20        /// <summary>
 21        ///   Initializes a new instance of the <see cref="DeveloperCodeException"/> class.
 22        /// </summary>
 23        ///
 24        /// <param name="innerException">The exception that is the cause of the current exception, or a null reference i
 25        ///
 826        public DeveloperCodeException(Exception innerException) : base(Resources.DeveloperCodeError, innerException)
 27        {
 828        }
 29    }
 30}

Methods/Properties

.ctor(...)