// fill in request from query parameters via shared superclass method
request = super.buildRequest();
TripPlan plan = otpServer.planGenerator.generate(request);
response.setPlan(plan);
} catch (Exception e) {
PlannerError error = new PlannerError(e);
if(!PlannerError.isPlanningError(e.getClass()))
LOG.warn("Error while planning path: ", e);
response.setError(error);
} finally {
if (request != null) {