2019-05-21 10:28:34 -07:00
using System ;
2019-06-09 13:08:01 -07:00
2019-05-21 10:28:34 -07: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 10:18:12 -07:00
/// <summary>
/// Initializes a new instance of the <see cref="AuthenticationException"/> class.
/// </summary>
2019-05-21 10:28:34 -07:00
public AuthenticationException ( ) : base ( )
{
}
2020-04-13 10:18:12 -07: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 10:28:34 -07:00
public AuthenticationException ( string message ) : base ( message )
{
}
2020-04-13 10:18:12 -07:00
/// <summary>
/// Initializes a new instance of the <see cref="AuthenticationException"/> class.
/// </summary>
2020-04-15 05:56:00 -07:00
/// <param name="message">The message that describes the error.</param>
2020-04-13 10:18:12 -07:00
/// <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 10:28:34 -07:00
public AuthenticationException ( string message , Exception innerException )
: base ( message , innerException )
{
}
}
}