private static JSONObject createResponseContent(SpagoBIEngineServiceException exception) throws JSONException { JSONObject content = new JSONObject(); content.put("message", exception.getMessage()); return content; }