AuthenticationException.cs 1.3 KB

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