summaryrefslogtreecommitdiff
path: root/src/java.sql/share/classes/javax/sql/ConnectionPoolDataSource.java
diff options
context:
space:
mode:
authorVipin Sharma <vsharma@openjdk.org>2020-10-02 14:50:53 +0000
committerLance Andersen <lancea@openjdk.org>2020-10-02 14:50:53 +0000
commitdffe9db25c19a7e99d3d35c535197bf7e4c15c8a (patch)
tree2f215db9c5d943ca9668d364dbacf994194876c8 /src/java.sql/share/classes/javax/sql/ConnectionPoolDataSource.java
parent406db1c270a69868b415362d49202c790da27c70 (diff)
downloadopenjdk-dffe9db25c19a7e99d3d35c535197bf7e4c15c8a.tar.gz
openjdk-dffe9db25c19a7e99d3d35c535197bf7e4c15c8a.zip
8252537: Updated @exception with @throws
8252536: Replace @exception with @throws for core-libs 8252539: Replace @exception with @throws java.rmi.activation package 8252540: Replace @exception with @throws java.rmi.registry package 8252541: Replace @exception with @throws java.rmi.server package Reviewed-by: rriggs, sspitsyn, lancea
Diffstat (limited to 'src/java.sql/share/classes/javax/sql/ConnectionPoolDataSource.java')
-rw-r--r--src/java.sql/share/classes/javax/sql/ConnectionPoolDataSource.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/java.sql/share/classes/javax/sql/ConnectionPoolDataSource.java b/src/java.sql/share/classes/javax/sql/ConnectionPoolDataSource.java
index db004c4cf1b..d493da2e48f 100644
--- a/src/java.sql/share/classes/javax/sql/ConnectionPoolDataSource.java
+++ b/src/java.sql/share/classes/javax/sql/ConnectionPoolDataSource.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -48,8 +48,8 @@ public interface ConnectionPoolDataSource extends CommonDataSource {
* @return a <code>PooledConnection</code> object that is a physical
* connection to the database that this
* <code>ConnectionPoolDataSource</code> object represents
- * @exception SQLException if a database access error occurs
- * @exception java.sql.SQLFeatureNotSupportedException if the JDBC driver does not support
+ * @throws SQLException if a database access error occurs
+ * @throws java.sql.SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.4
*/
@@ -64,8 +64,8 @@ public interface ConnectionPoolDataSource extends CommonDataSource {
* @return a <code>PooledConnection</code> object that is a physical
* connection to the database that this
* <code>ConnectionPoolDataSource</code> object represents
- * @exception SQLException if a database access error occurs
- * @exception java.sql.SQLFeatureNotSupportedException if the JDBC driver does not support
+ * @throws SQLException if a database access error occurs
+ * @throws java.sql.SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.4
*/