File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/main/java/com/esri/samples/na/find_route Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,6 @@ public void start(Stage stage) throws Exception {
118118 findButton .setDisable (true );
119119
120120 } catch (Exception ex ) {
121- System .out .println ("Failed solving the route" );
122121 ex .printStackTrace ();
123122 }
124123 });
@@ -194,14 +193,12 @@ public void start(Stage stage) throws Exception {
194193 routeGraphicsOverlay .getGraphics ().add (new Graphic (stop2Loc , stop2Text ));
195194
196195 } catch (Exception ex ) {
197- // on any error, print the stack trace
198- System .out .println ("RouteTask: Failed generating default route parameters " + ex .getMessage ());
196+ ex .printStackTrace ();
199197 }
200198 });
201199
202200 } catch (Exception e ) {
203- // on any error, print the stack trace
204- System .out .println ("RouteTask: Failed creating route " + e .getMessage ());
201+ e .printStackTrace ();
205202 }
206203
207204 // add the map view and control panel to stack pane
You can’t perform that action at this time.
0 commit comments