OSDN Git Service

Fix #32188
authorargius <argius.net@gmail.com>
Thu, 21 Nov 2013 11:05:41 +0000 (20:05 +0900)
committerargius <argius.net@gmail.com>
Thu, 21 Nov 2013 11:05:41 +0000 (20:05 +0900)
src/net/argius/stew/ui/window/DatabaseInfoTree.java

index 97b9166..6f6c4db 100644 (file)
@@ -600,6 +600,12 @@ final class DatabaseInfoTree extends JTree implements AnyActionListener, TextSea
                         }
                     });
                 } catch (SQLException ex) {
+                    try {
+                        if (dbmeta.getConnection().isClosed())
+                            return;
+                    } catch (SQLException exx) {
+                        ex.setNextException(exx);
+                    }
                     throw new RuntimeException(ex);
                 }
             }