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);
|
JOptionPane.WARNING_MESSAGE);
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
JOptionPane.showMessageDialog(frame,
|
JOptionPane.showMessageDialog(frame,
|
||||||
"Number format error: " + e.getMessage() + "\n\nThe number may be too large.", "Error!",
|
"Number format error: " + e.getMessage() + "\n\nThe number may be too large or there's a mistype.",
|
||||||
JOptionPane.WARNING_MESSAGE);
|
"Error!", JOptionPane.WARNING_MESSAGE);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
JOptionPane.showMessageDialog(frame, "Unknown error!\n" + e, "Error!", JOptionPane.WARNING_MESSAGE);
|
JOptionPane.showMessageDialog(frame, "Unknown error!\n" + e, "Error!", JOptionPane.WARNING_MESSAGE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue