jellyfin/MediaBrowser.Controller/Authentication/AuthenticationException.cs

36 lines
1.3 KiB
C#
Raw Normal View History

2019-05-21 17:28:34 +00:00
using System;
2019-06-09 20:08:01 +00:00
2019-05-21 17:28:34 +00:00
namespace MediaBrowser.Controller.Authentication
{
/// <summary>
/// The exception that is thrown when an attempt to authenticate fails.
/// </summary>
public class AuthenticationException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="AuthenticationException"/> class.
/// </summary>
2019-05-21 17:28:34 +00:00
public AuthenticationException() : base()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="AuthenticationException"/> class.
/// </summary>
/// <param name="message">The message that describes the error.</param>
2019-05-21 17:28:34 +00:00
public AuthenticationException(string message) : base(message)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="AuthenticationException"/> class.
/// </summary>
/// <param name="message">The message that describes the error.</param>
/// <param name="innerException">The exception that is the cause of the current exception, or a null reference if no inner exception is specified.</param>
2019-05-21 17:28:34 +00:00
public AuthenticationException(string message, Exception innerException)
: base(message, innerException)
{
}
}
}