29303132333435
String errorType = String.valueOf(errorDetails.get("errorType")); String message = String.valueOf(errorDetails.get("errorDetail")); handleFoursquareError(code, errorType, message); throw new FoursquareApiException(code, errorType, message); }