Initial version from the webtools project; sligthly modified for phpeclipse
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / tableview / ResultSetAction.java
index 03a7f55..8be4378 100644 (file)
@@ -5,6 +5,7 @@ import java.sql.SQLException;
 
 import com.quantum.sql.SQLResultSetResults;
 import com.quantum.ui.dialog.ExceptionDisplayDialog;
+import com.quantum.ui.dialog.SQLExceptionDialog;
 import com.quantum.util.connection.ConnectionUtil;
 
 import org.eclipse.jface.viewers.ISelectionProvider;
@@ -40,7 +41,7 @@ public abstract class ResultSetAction extends SelectionListenerAction {
                                executeResultSetAction(results);
                        }
                } catch (SQLException e) {
-                       ExceptionDisplayDialog.openError(getShell(), null, null, e);
+                       SQLExceptionDialog.openException(getShell(), null, e);
                } catch (RuntimeException e) {
                        ExceptionDisplayDialog.openError(getShell(), null, null, e);
                }