Changed error message

This commit is contained in:
Norbi Peti 2016-07-20 12:07:03 +02:00
parent 83e92859aa
commit f9ea925b98

View file

@ -137,8 +137,8 @@ public class Gui {
JOptionPane.WARNING_MESSAGE);
} catch (NumberFormatException e) {
JOptionPane.showMessageDialog(frame,
"Number format error: " + e.getMessage() + "\n\nThe number may be too large.", "Error!",
JOptionPane.WARNING_MESSAGE);
"Number format error: " + e.getMessage() + "\n\nThe number may be too large or there's a mistype.",
"Error!", JOptionPane.WARNING_MESSAGE);
} catch (Exception e) {
JOptionPane.showMessageDialog(frame, "Unknown error!\n" + e, "Error!", JOptionPane.WARNING_MESSAGE);
}