summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-08-24 12:31:01 (EDT)
committerEike Stepper2007-08-24 12:31:01 (EDT)
commit2ab981e4037d757db98fa80d29fa197fb55c3d04 (patch)
tree5b854319c8c5fa45cb100f2982065157409de215
parentdd342eefc2478120f68f96fb5e11b05f88c41b6d (diff)
downloadcdo-2ab981e4037d757db98fa80d29fa197fb55c3d04.zip
cdo-2ab981e4037d757db98fa80d29fa197fb55c3d04.tar.gz
cdo-2ab981e4037d757db98fa80d29fa197fb55c3d04.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/Mapping.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/Mapping.java b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/Mapping.java
index e795937..194b4e8 100644
--- a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/Mapping.java
+++ b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/Mapping.java
@@ -25,6 +25,7 @@ import org.eclipse.net4j.db.IDBTable;
import org.eclipse.net4j.internal.util.om.trace.ContextTracer;
import org.eclipse.net4j.util.ImplementationError;
+import java.sql.SQLException;
import java.sql.Statement;
import java.util.HashSet;
import java.util.Set;
@@ -109,9 +110,9 @@ public abstract class Mapping implements IMapping
throw new DBException("Wrong update count: " + count);
}
}
- catch (Exception ex)
+ catch (SQLException ex)
{
- throw new DBException("Problem with " + sql, ex);
+ throw new DBException(ex);
}
}