birbmap/Birdmap.BLL/Exceptions/AuthenticationException.cs

27 lines
624 B
C#
Raw Normal View History

2020-10-21 17:04:54 +02:00
using System;
using System.Runtime.Serialization;
2020-10-21 17:04:54 +02:00
namespace Birdmap.BLL.Exceptions
2020-10-21 17:04:54 +02:00
{
[Serializable]
2020-10-21 17:04:54 +02:00
public class AuthenticationException : Exception
{
public AuthenticationException()
: base("Username or password is incorrect.")
{
}
public AuthenticationException(string message) : this()
{
}
public AuthenticationException(string message, Exception innerException) : this()
{
}
protected AuthenticationException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
2020-10-21 17:04:54 +02:00
}
}