} else if (code.equals("AUTHORIZATION_INVALID")
|| code.equals("LICENSE_KEY_REQUIRED")
|| code.equals("USER_ID_REQUIRED")) {
throw new AuthenticationException(error);
} else if (code.equals("OUT_OF_QUERIES")) {
throw new OutOfQueriesException(error);
}
// These should be fairly rare
throw new InvalidRequestException(error, code, uri.toURL());
}