using ShareeBike.MultilingualResources; namespace ShareeBike.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.ErrorAccountInvalidAuthorization, mail), response) { } /// Holds error description if user/ password combination is not valid. public const string AUTH_FAILURE_STATUS_MESSAGE_UPPERCASE = "FAILURE: CANNOT GENERATE AUTHCOOKIE"; } }