]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-5943: Trivial changes to error log statements.
authorAron Roberts <aron@socrates.berkeley.edu>
Sun, 7 Apr 2013 19:26:55 +0000 (12:26 -0700)
committerAron Roberts <aron@socrates.berkeley.edu>
Sun, 7 Apr 2013 19:26:55 +0000 (12:26 -0700)
services/common/src/main/java/org/collectionspace/services/common/storage/JDBCTools.java

index 7ea50b0547ca99d0a881cfb13b8c53ce9843f206..60ee9fca94bf3c6a957efbc0dfc3eb92b8b0aafd 100644 (file)
@@ -194,7 +194,7 @@ public class JDBCTools {
                 logger.debug("SQL Exception: " + sqle.getLocalizedMessage());\r
                 tempException = tempException.getNextException();\r
             }\r
-            throw new RuntimeException("SQL problem in executeQuery: ", sqle);\r
+            throw new RuntimeException("SQL Exception in executeQuery: ", sqle);\r
         } finally {\r
             try {\r
                 if (stmt != null) {\r
@@ -233,7 +233,7 @@ public class JDBCTools {
                 logger.debug("SQL Exception: " + sqle.getLocalizedMessage());\r
                 tempException = tempException.getNextException();\r
             }\r
-            throw new RuntimeException("SQL problem in executePreparedQuery: ", sqle);\r
+            throw new RuntimeException("SQL Exception in executePreparedQuery: ", sqle);\r
         } finally {\r
             try {\r
                 if (ps != null) {\r
@@ -286,7 +286,7 @@ public class JDBCTools {
                 logger.debug("SQL Exception: " + sqle.getLocalizedMessage());\r
                 tempException = tempException.getNextException();\r
             }\r
-            throw new RuntimeException("SQL problem in executePreparedQuery: ", sqle);\r
+            throw new RuntimeException("SQL Exception in executePreparedQueries: ", sqle);\r
         } finally {\r
             try {\r
                 if (ps != null) {\r
@@ -299,7 +299,7 @@ public class JDBCTools {
                     conn.close();\r
                 }\r
             } catch (SQLException sqle) {\r
-                logger.debug("SQL Exception closing statement/connection in executeQuery: " + sqle.getLocalizedMessage());\r
+                logger.debug("SQL Exception closing statement/connection in executePreparedQueries: " + sqle.getLocalizedMessage());\r
                 return null;\r
             }\r
         }\r
@@ -329,7 +329,7 @@ public class JDBCTools {
                 logger.debug("SQL Exception: " + msg);\r
                 tempException = tempException.getNextException();\r
             }\r
-            throw new RuntimeException("SQL problem in executeUpdate: " + msg, sqle);\r
+            throw new RuntimeException("SQL Exception in executeUpdate: " + msg, sqle);\r
         } finally {\r
             try {\r
                 if (stmt != null) {\r