Author: mareshkau
Date: 2008-10-29 11:44:05 -0400 (Wed, 29 Oct 2008)
New Revision: 11295
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaDomEventListener.java
Log:
Fix pmd errors, JBIDE-883
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaDomEventListener.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaDomEventListener.java 2008-10-29
15:32:53 UTC (rev 11294)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaDomEventListener.java 2008-10-29
15:44:05 UTC (rev 11295)
@@ -10,7 +10,6 @@
******************************************************************************/
package org.jboss.tools.vpe.editor.mozilla;
-import org.jboss.tools.vpe.VpePlugin;
import org.jboss.tools.vpe.editor.VpeController;
import org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor;
import org.mozilla.interfaces.nsIDOMDocument;
@@ -122,7 +121,7 @@
* @see
org.mozilla.interfaces.nsIDOMEventListener#handleEvent(org.mozilla.interfaces.nsIDOMEvent)
*/
public void handleEvent(nsIDOMEvent domEvent) {
- try{
+
if(getEditorDomEventListener()==null){
return;
@@ -184,11 +183,6 @@
getEditorDomEventListener().onRefresh();
}
- }catch(Throwable th) {
-
- VpePlugin.getPluginLog().logError("Event Handling Error", th);
//$NON-NLS-1$
- throw new RuntimeException(th);
- }
}
/* (non-Javadoc)
Show replies by date