summaryrefslogtreecommitdiff
path: root/altosui/AltosCSVUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-28 15:50:30 -0700
committerKeith Packard <keithp@keithp.com>2011-08-28 15:50:30 -0700
commit31e3255b6cbfaf95c0e97e2d1ec8de72f845994c (patch)
tree7213069af129b6b29bc59d48ce5c1e3f336537c9 /altosui/AltosCSVUI.java
parentcf72c2f5a69a736c28a9b63e124d510ef41a9f5d (diff)
altosui: Report error message back from libaltos
This includes changing all of the error dialogs to show the error message rather than just the file name. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosCSVUI.java')
-rw-r--r--altosui/AltosCSVUI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosCSVUI.java b/altosui/AltosCSVUI.java
index e1b6002d..a212409e 100644
--- a/altosui/AltosCSVUI.java
+++ b/altosui/AltosCSVUI.java
@@ -99,7 +99,7 @@ public class AltosCSVUI
writer.close();
} catch (FileNotFoundException ee) {
JOptionPane.showMessageDialog(frame,
- file.getName(),
+ ee.getMessage(),
"Cannot open file",
JOptionPane.ERROR_MESSAGE);
}