2020-08-22 19:56:24 +00:00
#nullable enable
2019-01-13 20:01:16 +00:00
using System ;
2018-12-27 23:27:57 +00:00
namespace MediaBrowser.Controller.Net
{
2020-04-13 17:13:48 +00:00
/// <summary>
/// The exception that is thrown when a user is authenticated, but not authorized to access a requested resource.
/// </summary>
2018-12-27 23:27:57 +00:00
public class SecurityException : Exception
{
2020-04-13 17:13:48 +00:00
/// <summary>
/// Initializes a new instance of the <see cref="SecurityException"/> class.
/// </summary>
public SecurityException ( )
: base ( )
{
}
/// <summary>
/// Initializes a new instance of the <see cref="SecurityException"/> class.
/// </summary>
/// <param name="message">The message that describes the error.</param>
2018-12-27 23:27:57 +00:00
public SecurityException ( string message )
: base ( message )
{
}
2020-04-13 17:13:48 +00:00
/// <summary>
/// Initializes a new instance of the <see cref="SecurityException"/> class.
/// </summary>
2020-06-19 10:21:49 +00:00
/// <param name="message">The message that describes the error.</param>
2020-04-13 17:13:48 +00: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>
public SecurityException ( string message , Exception innerException )
: base ( message , innerException )
{
}
2018-12-27 23:27:57 +00:00
}
}