using TINK.MultilingualResources; namespace TINK.Repository.Exception { public class InvalidAuthorizationResponseException : InvalidResponseException { /// Constructs a authorization exceptions. /// Mail address to create a detailed error message. public InvalidAuthorizationResponseException(string mail, Response.ResponseBase response) : base(string.Format(AppResources.ErrorMessageInvalidAuthorizationResponseException, mail), response) { } /// Holds error description if user/ password combination is not valid. public const string AUTH_FAILURE_STATUS_MESSAGE_UPPERCASE = "FAILURE: CANNOT GENERATE AUTHCOOKIE"; } }