summaryrefslogtreecommitdiff
path: root/telegps/TeleGPS.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-09-25 13:10:36 -0700
committerKeith Packard <keithp@keithp.com>2019-09-25 13:10:36 -0700
commitff68c8855bc6983638db5102ffbc6822b83edb5d (patch)
treefad5d68814a491cd506f824bcf2bcbc74b8d51d0 /telegps/TeleGPS.java
parent35351c7db337c4384ef642fbc8b8676f0944686a (diff)
telegps: Get --graph mode working after recent changes
Was just exiting due to a null pointer exception caused by mis-ordered setup of the map data. Also using stale API. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'telegps/TeleGPS.java')
-rw-r--r--telegps/TeleGPS.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/telegps/TeleGPS.java b/telegps/TeleGPS.java
index af6d01b4..5df47202 100644
--- a/telegps/TeleGPS.java
+++ b/telegps/TeleGPS.java
@@ -650,7 +650,10 @@ public class TeleGPS
}
try {
new TeleGPSGraphUI(set, file);
- } catch (Exception e) {
+ } catch (IOException e) {
+ System.out.printf("Exception %s\n", e.toString());
+ } catch (InterruptedException e) {
+ System.out.printf("Exception %s\n", e.toString());
return false;
}
return true;