} catch (IllegalArgumentException e) {
return status(400, views.html.errors.error.render("Invalid input configuration", new RuntimeException("Invalid configuration for input " + request.title), request()));
}
try {
if (radio.launchInput(request.title, request.type, false, configuration, currentUser(), inputInfo.isExclusive) == null) {
return status(500, views.html.errors.error.render(ApiClient.ERROR_MSG_IO, new RuntimeException("Could not launch input " + request.title), request()));
}
} catch (ExclusiveInputException e) {
flash("error", "This input is exclusive and already running.");
return redirect(routes.InputsController.index());