using System;
namespace Asterisk.NET.Manager
{
///
/// An AuthenticationFailedException is thrown when a login fails due to an incorrect username and/or password.
///
public class AuthenticationFailedException : Exception
{
///
/// Creates a new AuthenticationFailedException with the given message.
///
/// message describing the authentication failure
public AuthenticationFailedException(string message)
: base(message)
{
}
///
/// Creates a new AuthenticationFailedException with the given message and cause.
///
/// message describing the authentication failure
/// exception that caused the authentication failure
public AuthenticationFailedException(string message, Exception cause)
: base(message, cause)
{
}
}
}