You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/05/31 22:16:44 UTC
[commons-dbcp] 01/03: Javadoc.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git
commit 1aa2ba6cfe16a0815517173ed58f7be8e15eda1e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon May 31 18:10:29 2021 -0400
Javadoc.
---
src/main/java/org/apache/commons/dbcp2/DelegatingConnection.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/main/java/org/apache/commons/dbcp2/DelegatingConnection.java b/src/main/java/org/apache/commons/dbcp2/DelegatingConnection.java
index 70852ee..2080716 100644
--- a/src/main/java/org/apache/commons/dbcp2/DelegatingConnection.java
+++ b/src/main/java/org/apache/commons/dbcp2/DelegatingConnection.java
@@ -242,6 +242,12 @@ public class DelegatingConnection<C extends Connection> extends AbandonedTrace i
}
}
+ /**
+ * Handles the given exception by throwing it.
+ *
+ * @param e the exception to throw.
+ * @throws SQLException the exception to throw.
+ */
protected void handleException(final SQLException e) throws SQLException {
throw e;
}