Package org.opentripplanner.api.model.error

Examples of org.opentripplanner.api.model.error.PlannerError


            // 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) {
View Full Code Here

TOP

Related Classes of org.opentripplanner.api.model.error.PlannerError

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.