2021-06-26 20:57:55 +02:00
|
|
|
|
namespace TINK.Repository.Exception
|
2021-05-13 20:03:07 +02:00
|
|
|
|
{
|
|
|
|
|
public class InvalidAuthorizationResponseException : InvalidResponseException<Response.ResponseBase>
|
|
|
|
|
{
|
|
|
|
|
/// <summary>Constructs a authorization exceptions. </summary>
|
|
|
|
|
/// <param name="p_strMail">Mail address to create a detailed error message.</param>
|
|
|
|
|
public InvalidAuthorizationResponseException(string p_strMail, Response.ResponseBase p_oResponse) :
|
|
|
|
|
base(string.Format("Kann Benutzer {0} nicht anmelden. Mailadresse unbekannt oder Passwort ungültig.", p_strMail), p_oResponse)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary> Holds error description if user/ password combination is not valid. </summary>
|
|
|
|
|
public const string AUTH_FAILURE_STATUS_MESSAGE_UPPERCASE = "FAILURE: CANNOT GENERATE AUTHCOOKIE";
|
|
|
|
|
}
|
|
|
|
|
}
|