summaryrefslogtreecommitdiff
path: root/src/java.sql/share/classes/java/sql/Array.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/java/sql/Array.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/java/sql/Array.java')
-rw-r--r--src/java.sql/share/classes/java/sql/Array.java46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/java.sql/share/classes/java/sql/Array.java b/src/java.sql/share/classes/java/sql/Array.java
index e2067312b1d..ef635d33730 100644
--- a/src/java.sql/share/classes/java/sql/Array.java
+++ b/src/java.sql/share/classes/java/sql/Array.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 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
@@ -80,9 +80,9 @@ public interface Array {
* @return a <code>String</code> that is the database-specific
* name for a built-in base type; or the fully-qualified SQL type
* name for a base type that is a UDT
- * @exception SQLException if an error occurs while attempting
+ * @throws SQLException if an error occurs while attempting
* to access the type name
- * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
+ * @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.2
*/
@@ -95,9 +95,9 @@ public interface Array {
* @return a constant from the class {@link java.sql.Types} that is
* the type code for the elements in the array designated by this
* <code>Array</code> object
- * @exception SQLException if an error occurs while attempting
+ * @throws SQLException if an error occurs while attempting
* to access the base type
- * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
+ * @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.2
*/
@@ -119,9 +119,9 @@ public interface Array {
* @return an array in the Java programming language that contains
* the ordered elements of the SQL <code>ARRAY</code> value
* designated by this <code>Array</code> object
- * @exception SQLException if an error occurs while attempting to
+ * @throws SQLException if an error occurs while attempting to
* access the array
- * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
+ * @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.2
*/
@@ -147,9 +147,9 @@ public interface Array {
* of SQL type names to classes in the Java programming language
* @return an array in the Java programming language that contains the ordered
* elements of the SQL array designated by this object
- * @exception SQLException if an error occurs while attempting to
- * access the array
- * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
+ * @throws SQLException if an error occurs while attempting to
+ * access the array
+ * @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.2
*/
@@ -172,9 +172,9 @@ public interface Array {
* @param count the number of successive SQL array elements to retrieve
* @return an array containing up to <code>count</code> consecutive elements
* of the SQL array, beginning with element <code>index</code>
- * @exception SQLException if an error occurs while attempting to
+ * @throws SQLException if an error occurs while attempting to
* access the array
- * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
+ * @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.2
*/
@@ -210,9 +210,9 @@ public interface Array {
* consecutive elements of the SQL <code>ARRAY</code> value designated by this
* <code>Array</code> object, beginning with element
* <code>index</code>
- * @exception SQLException if an error occurs while attempting to
+ * @throws SQLException if an error occurs while attempting to
* access the array
- * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
+ * @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.2
*/
@@ -236,9 +236,9 @@ public interface Array {
* @return a {@link ResultSet} object containing one row for each
* of the elements in the array designated by this <code>Array</code>
* object, with the rows in ascending order based on the indices.
- * @exception SQLException if an error occurs while attempting to
+ * @throws SQLException if an error occurs while attempting to
* access the array
- * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
+ * @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.2
*/
@@ -267,9 +267,9 @@ public interface Array {
* @return a <code>ResultSet</code> object containing one row for each
* of the elements in the array designated by this <code>Array</code>
* object, with the rows in ascending order based on the indices.
- * @exception SQLException if an error occurs while attempting to
+ * @throws SQLException if an error occurs while attempting to
* access the array
- * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
+ * @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.2
*/
@@ -298,9 +298,9 @@ public interface Array {
* <code>count</code> consecutive elements of the SQL array
* designated by this <code>Array</code> object, starting at
* index <code>index</code>.
- * @exception SQLException if an error occurs while attempting to
+ * @throws SQLException if an error occurs while attempting to
* access the array
- * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
+ * @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.2
*/
@@ -335,9 +335,9 @@ public interface Array {
* <code>count</code> consecutive elements of the SQL array
* designated by this <code>Array</code> object, starting at
* index <code>index</code>.
- * @exception SQLException if an error occurs while attempting to
+ * @throws SQLException if an error occurs while attempting to
* access the array
- * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
+ * @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.2
*/
@@ -356,7 +356,7 @@ public interface Array {
*
* @throws SQLException if an error occurs releasing
* the Array's resources
- * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
+ * @throws SQLFeatureNotSupportedException if the JDBC driver does not support
* this method
* @since 1.6
*/