Configuration configuration = ConfigurationHandler.getConfiguration("/configurations");
if (configuration == null) {
response.sendError(404, "Configuration error: /configurations configuration was not found!");
return;
}
try {response.getOutputStream().println(configuration.execute(request, _action));}
catch (Throwable ex)
{
ex.printStackTrace();
response.sendError(500, ex.toString());
}