try {
final JSONObject errorPayload = JSONObject.fromObject(responseBody);
if (errorPayload != null && errorPayload.has("reason")&&errorPayload.getString("reason").equalsIgnoreCase("Revoked")) {
if (errorPayload.has("delete_health")&&errorPayload.getBoolean("delete_health"))
dataCleanupRequested = true;
throw new AuthRevokedException(dataCleanupRequested);
}
} catch (AuthRevokedException t) {
throw t;
} catch (Throwable t) {
}