}
System.err.println(" " + os_name + " ==> org.xwt.plat." + platform_class);
- if (platform_class != null) Class.forName("org.xwt.plat." + platform_class).newInstance();
+ try {
+ if (platform_class != null) Class.forName("org.xwt.plat." + platform_class).newInstance();
+ } catch (InstantiationException e) {
+ throw e.getCause();
+ }
String term = Platform.getEnv("TERM");
Log.color = term != null && term.length() != 0 && !term.equals("cygwin");