Catch UnsupportedOperationExceptions from getDesktop.

This commit is contained in:
kruland2607 2013-09-03 16:13:04 -05:00
parent e9be0ad9ef
commit 0f5e784e64

View File

@ -164,7 +164,7 @@ public class EditDecalHelper {
if (useSystemEditor) {
try {
Desktop.getDesktop().edit(tmpFile);
} catch (IOException ioex) {
} catch (Exception ioex) {
throw new EditDecalHelperException(trans.get("EditDecalHelper.launchSystemEditorException"), trans.get("EditDecalHelper.editPreferencesHelp"), ioex);
}
} else {