OSDN Git Service

コンフィグ編集ダイアログでエラーダイアログを出す条件を広くとる
authoryukihane <yukihane.feather@gmail.com>
Tue, 20 Sep 2011 07:39:26 +0000 (16:39 +0900)
committeryukihane <yukihane.feather@gmail.com>
Tue, 20 Sep 2011 07:50:29 +0000 (16:50 +0900)
src/nicobrowser/gui/config/ConfigFrame.java

index 8850f62..ef511a3 100644 (file)
@@ -473,7 +473,7 @@ public class ConfigFrame extends javax.swing.JFrame {
         try {
             config.updateConfigFile(p);
             JOptionPane.showMessageDialog(this, Config.getConfigfile().getAbsolutePath() + "\nを更新しました");
-        } catch (ConfigurationException ex) {
+        } catch (Throwable ex) {
             logger.error(null, ex);
             JOptionPane.showMessageDialog(this, "保存に失敗しました", "エラー", JOptionPane.ERROR_MESSAGE);
         }