Tweak to trap getClipboard properly

This commit is contained in:
Caspian Rychlik-Prince 2004-11-30 21:05:04 +00:00
parent 59aa0586f7
commit f334272243
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ public final class Sys {
try {
PlatformAdapter adapter = (PlatformAdapter) Class.forName(PLATFORM).newInstance(); // This avoids a Jet error message
return adapter.getClipboard();
} catch (Exception e) {
} catch (Throwable e) {
Sys.log("Unable to get clipboard contents: " + e);
// ignore exception and use native implementation
return nGetClipboard();