< Summary - Jellyfin

Information
Class: MediaBrowser.Controller.Authentication.AuthenticationException
Assembly: MediaBrowser.Controller
File(s): /srv/git/jellyfin/MediaBrowser.Controller/Authentication/AuthenticationException.cs
Line coverage
33%
Covered lines: 2
Uncovered lines: 4
Coverable lines: 6
Total lines: 35
Line coverage: 33.3%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%210%
.ctor(...)100%11100%
.ctor(...)100%210%

File(s)

/srv/git/jellyfin/MediaBrowser.Controller/Authentication/AuthenticationException.cs

#LineLine coverage
 1using System;
 2
 3namespace MediaBrowser.Controller.Authentication
 4{
 5    /// <summary>
 6    /// The exception that is thrown when an attempt to authenticate fails.
 7    /// </summary>
 8    public class AuthenticationException : Exception
 9    {
 10        /// <summary>
 11        /// Initializes a new instance of the <see cref="AuthenticationException"/> class.
 12        /// </summary>
 013        public AuthenticationException() : base()
 14        {
 015        }
 16
 17        /// <summary>
 18        /// Initializes a new instance of the <see cref="AuthenticationException"/> class.
 19        /// </summary>
 20        /// <param name="message">The message that describes the error.</param>
 521        public AuthenticationException(string message) : base(message)
 22        {
 523        }
 24
 25        /// <summary>
 26        /// Initializes a new instance of the <see cref="AuthenticationException"/> class.
 27        /// </summary>
 28        /// <param name="message">The message that describes the error.</param>
 29        /// <param name="innerException">The exception that is the cause of the current exception, or a null reference i
 30        public AuthenticationException(string message, Exception innerException)
 031            : base(message, innerException)
 32        {
 033        }
 34    }
 35}