From: stefanbjarni Date: Wed, 20 Apr 2005 17:16:34 +0000 (+0000) Subject: Temporarily removed all references to com.quantum.util.connection.NotConnectedException X-Git-Url: http://secure.phpeclipse.com?hp=69804c0ee2efd5fb7821514ddf8f44d6c21ed79a 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. --- 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();