Changed error message
This commit is contained in:
parent
83e92859aa
commit
f9ea925b98
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue