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
{
2020-04-13 17:18:12 +00:00
/// <summary>
/// Initializes a new instance of the <see cref="AuthenticationException"/> class.
/// </summary>
2019-05-21 17:28:34 +00:00
public AuthenticationException ( ) : base ( )
{
}
2020-04-13 17:18:12 +00:00
/// <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 )
{
}
2020-04-13 17:18:12 +00:00
/// <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 )
{
}
}
}