[jbosstools-commits] JBoss Tools SVN: r43452 - trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/core.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Sep 5 21:00:52 EDT 2012
Author: dgolovin
Date: 2012-09-05 21:00:52 -0400 (Wed, 05 Sep 2012)
New Revision: 43452
Modified:
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/core/CommonCorePlugin.java
Log:
logException method added to simplify exception logging
Modified: trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/core/CommonCorePlugin.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/core/CommonCorePlugin.java 2012-09-06 00:50:50 UTC (rev 43451)
+++ trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/core/CommonCorePlugin.java 2012-09-06 01:00:52 UTC (rev 43452)
@@ -6,6 +6,8 @@
import java.util.Dictionary;
import java.util.Properties;
+import javax.xml.parsers.ParserConfigurationException;
+
import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.Platform;
import org.jboss.tools.common.log.BasePlugin;
@@ -114,4 +116,8 @@
return getDefault();
}
+ public static void logException(Exception e) {
+ getPluginLog().logError(e);
+ }
+
}
More information about the jbosstools-commits
mailing list