diff -r e5618cc85d74 -r 6c158198356e javauis/tsrc/fute/lcdui/Midp_Alert_01/src/AlertTests.java --- a/javauis/tsrc/fute/lcdui/Midp_Alert_01/src/AlertTests.java Thu Jul 15 18:31:06 2010 +0300 +++ b/javauis/tsrc/fute/lcdui/Midp_Alert_01/src/AlertTests.java Thu Aug 19 09:48:13 2010 +0300 @@ -156,6 +156,14 @@ errorAlert.setTimeout(Alert.FOREVER); Display.getDisplay(parent).setCurrent(errorAlert); } + catch (IllegalArgumentException e) + { + System.out.println("Exception: " + e.toString()); + Alert errorAlert = new Alert("Exception", e.toString(), null, + AlertType.ERROR); + errorAlert.setTimeout(Alert.FOREVER); + Display.getDisplay(parent).setCurrent(errorAlert); + } } else if (c == cmdExit) {