[jbosstools-commits] JBoss Tools SVN: r43483 - workspace/akazakov/db/org.jboss.tools.common.db/src/org/jboss/tools/common/db.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Sep 6 18:33:24 EDT 2012


Author: scabanovich
Date: 2012-09-06 18:33:24 -0400 (Thu, 06 Sep 2012)
New Revision: 43483

Modified:
   workspace/akazakov/db/org.jboss.tools.common.db/src/org/jboss/tools/common/db/AbstractDBManager.java
Log:
JBIDE-12446
https://issues.jboss.org/browse/JBIDE-12446


Modified: workspace/akazakov/db/org.jboss.tools.common.db/src/org/jboss/tools/common/db/AbstractDBManager.java
===================================================================
--- workspace/akazakov/db/org.jboss.tools.common.db/src/org/jboss/tools/common/db/AbstractDBManager.java	2012-09-06 21:49:50 UTC (rev 43482)
+++ workspace/akazakov/db/org.jboss.tools.common.db/src/org/jboss/tools/common/db/AbstractDBManager.java	2012-09-06 22:33:24 UTC (rev 43483)
@@ -57,9 +57,14 @@
 	public EntityManager createEntityManager() {
 		try {
 			start();
-		} catch (InstantiationException | IllegalAccessException
-				| ClassNotFoundException | SQLException e) {
+		} catch (InstantiationException e) {
 			CommonDbPlugin.getDefault().logError(e);
+		} catch (IllegalAccessException e) {
+			CommonDbPlugin.getDefault().logError(e);
+		} catch (ClassNotFoundException e) {
+			CommonDbPlugin.getDefault().logError(e);
+		} catch (SQLException e) {
+			CommonDbPlugin.getDefault().logError(e);
 		}
 		EntityManager em = emf.createEntityManager();
 		return em;



More information about the jbosstools-commits mailing list