From fcad3bc7cddf8538615518ea8b34a9b2381b172b Mon Sep 17 00:00:00 2001 From: stefanbjarni Date: Wed, 20 Apr 2005 17:16:34 +0000 Subject: [PATCH] Temporarily removed all references to com.quantum.util.connection.NotConnectedException This exception class does not exist in Quantum DB 2.4.5, which is the latest version of Quantum distributed as a zipped feature. The latest version of Quantum on the update site is 2.4.4. We can put the references back in when the Quantum team releases a version that contains the class. --- .../actions/PHPOpenSQLTableEditorAction.java | 8 ++++---- .../phpeditor/php/PHPCompletionProcessor.java | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/actions/PHPOpenSQLTableEditorAction.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/actions/PHPOpenSQLTableEditorAction.java index f5d10d9..2900c62 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/actions/PHPOpenSQLTableEditorAction.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/actions/PHPOpenSQLTableEditorAction.java @@ -35,7 +35,7 @@ import org.eclipse.ui.actions.ActionDelegate; import com.quantum.ExternalInterface; import com.quantum.QuantumPlugin; -import com.quantum.util.connection.NotConnectedException; +// import com.quantum.util.connection.NotConnectedException; public class PHPOpenSQLTableEditorAction extends ActionDelegate implements IEditorActionDelegate { @@ -117,13 +117,13 @@ public class PHPOpenSQLTableEditorAction extends ActionDelegate implements IEdit } catch (PartInitException e) { e.printStackTrace(); } - } catch (NotConnectedException e) { + } catch (SQLException e) { // TODO Auto-generated catch block e.printStackTrace(); - } catch (SQLException e) { + } catch (Exception /* NotConnectedException */ e) { // TODO Auto-generated catch block e.printStackTrace(); - } + } } // diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPCompletionProcessor.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPCompletionProcessor.java index fbddc52..fb18a6a 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPCompletionProcessor.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPCompletionProcessor.java @@ -79,7 +79,7 @@ import org.eclipse.ui.IEditorPart; import org.eclipse.ui.IFileEditorInput; import com.quantum.ExternalInterface; -import com.quantum.util.connection.NotConnectedException; +// import com.quantum.util.connection.NotConnectedException; /** * Example PHP completion processor. @@ -909,7 +909,7 @@ public class PHPCompletionProcessor implements IContentAssistProcessor { sqlResults[i] = (SQLProposal) sqlList.get(i); } // } - } catch (NotConnectedException e) { + } catch (Exception /* NotConnectedException */ e) { // ignore this - not mission critical // } catch (SQLException e) { // e.printStackTrace(); -- 1.7.1