2
0

SecurityException.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. namespace MediaBrowser.Controller.Net
  3. {
  4. /// <summary>
  5. /// The exception that is thrown when a user is authenticated, but not authorized to access a requested resource.
  6. /// </summary>
  7. public class SecurityException : Exception
  8. {
  9. /// <summary>
  10. /// Initializes a new instance of the <see cref="SecurityException"/> class.
  11. /// </summary>
  12. public SecurityException()
  13. : base()
  14. {
  15. }
  16. /// <summary>
  17. /// Initializes a new instance of the <see cref="SecurityException"/> class.
  18. /// </summary>
  19. /// <param name="message">The message that describes the error.</param>
  20. public SecurityException(string message)
  21. : base(message)
  22. {
  23. }
  24. /// <summary>
  25. /// Initializes a new instance of the <see cref="SecurityException"/> class.
  26. /// </summary>
  27. /// <param name="message">The message that describes the error.</param>
  28. /// <param name="innerException">The exception that is the cause of the current exception, or a null reference if no inner exception is specified.</param>
  29. public SecurityException(string message, Exception innerException)
  30. : base(message, innerException)
  31. {
  32. }
  33. }
  34. }