Improved error "Unreachable code" for if statements
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / actions / ViewTableAction.java
index 7975f0b..5bd627b 100644 (file)
@@ -11,7 +11,7 @@ import com.quantum.sql.MultiSQLServer;
 import com.quantum.sql.SQLResultSetCollection;
 import com.quantum.sql.SQLResultSetResults;
 import com.quantum.sql.SQLResults;
-import com.quantum.ui.dialog.ExceptionDisplayDialog;
+import com.quantum.ui.dialog.SQLExceptionDialog;
 import com.quantum.util.connection.ConnectionUtil;
 import com.quantum.view.bookmark.EntityNode;
 
@@ -53,7 +53,7 @@ public class ViewTableAction extends SelectionListenerAction {
                                SQLResultSetCollection.getInstance().addSQLResultSet((SQLResultSetResults) results);
                        }
                } catch (SQLException e) {
-                       ExceptionDisplayDialog.openError(getShell(), null, null, e);
+                       SQLExceptionDialog.openException(getShell(), bookmark, e);
                }
        }