} else if ("TermsNotAgreed".equals(errorName)) {
return new TermsNotAgreedException("Terms not agreed");
} else if ("ServiceUnavailable".equals(errorName)) {
return new ServiceUnavailableException("Service unavailable");
} else if ("CaptchaRequired".equals(errorName)) {
String captchaPath = pairs.get("CaptchaUrl");
StringBuilder captchaUrl = new StringBuilder();