From dffe9db25c19a7e99d3d35c535197bf7e4c15c8a Mon Sep 17 00:00:00 2001 From: Vipin Sharma Date: Fri, 2 Oct 2020 14:50:53 +0000 Subject: 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 --- src/java.sql/share/classes/java/sql/Array.java | 46 +++++++++++++------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'src/java.sql/share/classes/java/sql/Array.java') 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 String 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 * Array 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 ARRAY value * designated by this Array 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 count consecutive elements * of the SQL array, beginning with element index - * @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 ARRAY value designated by this * Array object, beginning with element * index - * @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 Array * 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 ResultSet object containing one row for each * of the elements in the array designated by this Array * 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 { * count consecutive elements of the SQL array * designated by this Array object, starting at * index index. - * @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 { * count consecutive elements of the SQL array * designated by this Array object, starting at * index index. - * @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 */ -- cgit v1.3.1