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 --- .../share/classes/java/sql/CallableStatement.java | 650 ++++++++++----------- 1 file changed, 325 insertions(+), 325 deletions(-) (limited to 'src/java.sql/share/classes/java/sql/CallableStatement.java') diff --git a/src/java.sql/share/classes/java/sql/CallableStatement.java b/src/java.sql/share/classes/java/sql/CallableStatement.java index eaafccefdd4..c46ea844960 100644 --- a/src/java.sql/share/classes/java/sql/CallableStatement.java +++ b/src/java.sql/share/classes/java/sql/CallableStatement.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 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 @@ -88,15 +88,15 @@ public interface CallableStatement extends PreparedStatement { * registerOutParameter that accepts a scale value * should be used. * - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if sqlType is - * a ARRAY, BLOB, CLOB, - * DATALINK, JAVA_OBJECT, NCHAR, - * NCLOB, NVARCHAR, LONGNVARCHAR, - * REF, ROWID, SQLXML - * or STRUCT data type and the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if {@code sqlType} is + * a {@code ARRAY}, {@code BLOB}, {@code CLOB}, + * {@code DATALINK}, {@code JAVA_OBJECT}, {@code NCHAR}, + * {@code NCLOB}, {@code NVARCHAR}, {@code LONGNVARCHAR}, + * {@code REF}, {@code ROWID}, {@code SQLXML} + * or {@code STRUCT} data type and the JDBC driver does not support * this data type * @see Types */ @@ -122,15 +122,15 @@ public interface CallableStatement extends PreparedStatement { * @param sqlType the SQL type code defined by java.sql.Types. * @param scale the desired number of digits to the right of the * decimal point. It must be greater than or equal to zero. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if sqlType is - * a ARRAY, BLOB, CLOB, - * DATALINK, JAVA_OBJECT, NCHAR, - * NCLOB, NVARCHAR, LONGNVARCHAR, - * REF, ROWID, SQLXML - * or STRUCT data type and the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if {@code sqlType} is + * a {@code ARRAY}, {@code BLOB}, {@code CLOB}, + * {@code DATALINK}, {@code JAVA_OBJECT}, {@code NCHAR}, + * {@code NCLOB}, {@code NVARCHAR}, {@code LONGNVARCHAR}, + * {@code REF}, {@code ROWID}, {@code SQLXML} + * or {@code STRUCT} data type and the JDBC driver does not support * this data type * @see Types */ @@ -145,8 +145,8 @@ public interface CallableStatement extends PreparedStatement { * * @return true if the last parameter read was SQL * NULL; false otherwise - * @exception SQLException if a database access error occurs or - * this method is called on a closed CallableStatement + * @throws SQLException if a database access error occurs or + * this method is called on a closed {@code CallableStatement} */ boolean wasNull() throws SQLException; @@ -166,9 +166,9 @@ public interface CallableStatement extends PreparedStatement { * @return the parameter value. If the value is SQL NULL, * the result * is null. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setString */ String getString(int parameterIndex) throws SQLException; @@ -182,9 +182,9 @@ public interface CallableStatement extends PreparedStatement { * and so on * @return the parameter value. If the value is SQL NULL, * the result is false. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setBoolean */ boolean getBoolean(int parameterIndex) throws SQLException; @@ -197,9 +197,9 @@ public interface CallableStatement extends PreparedStatement { * and so on * @return the parameter value. If the value is SQL NULL, the result * is 0. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setByte */ byte getByte(int parameterIndex) throws SQLException; @@ -212,9 +212,9 @@ public interface CallableStatement extends PreparedStatement { * and so on * @return the parameter value. If the value is SQL NULL, the result * is 0. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setShort */ short getShort(int parameterIndex) throws SQLException; @@ -227,9 +227,9 @@ public interface CallableStatement extends PreparedStatement { * and so on * @return the parameter value. If the value is SQL NULL, the result * is 0. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setInt */ int getInt(int parameterIndex) throws SQLException; @@ -242,9 +242,9 @@ public interface CallableStatement extends PreparedStatement { * and so on * @return the parameter value. If the value is SQL NULL, the result * is 0. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setLong */ long getLong(int parameterIndex) throws SQLException; @@ -257,9 +257,9 @@ public interface CallableStatement extends PreparedStatement { * and so on * @return the parameter value. If the value is SQL NULL, the result * is 0. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setFloat */ float getFloat(int parameterIndex) throws SQLException; @@ -271,9 +271,9 @@ public interface CallableStatement extends PreparedStatement { * and so on * @return the parameter value. If the value is SQL NULL, the result * is 0. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setDouble */ double getDouble(int parameterIndex) throws SQLException; @@ -287,13 +287,13 @@ public interface CallableStatement extends PreparedStatement { * @param scale the number of digits to the right of the decimal point * @return the parameter value. If the value is SQL NULL, the result * is null. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method - * @deprecated use getBigDecimal(int parameterIndex) - * or getBigDecimal(String parameterName) + * @deprecated use {@code getBigDecimal(int parameterIndex)} + * or {@code getBigDecimal(String parameterName)} * @see #setBigDecimal */ @Deprecated(since="1.2") @@ -308,9 +308,9 @@ public interface CallableStatement extends PreparedStatement { * and so on * @return the parameter value. If the value is SQL NULL, the result * is null. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setBytes */ byte[] getBytes(int parameterIndex) throws SQLException; @@ -322,9 +322,9 @@ public interface CallableStatement extends PreparedStatement { * and so on * @return the parameter value. If the value is SQL NULL, the result * is null. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setDate */ java.sql.Date getDate(int parameterIndex) throws SQLException; @@ -337,9 +337,9 @@ public interface CallableStatement extends PreparedStatement { * and so on * @return the parameter value. If the value is SQL NULL, the result * is null. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setTime */ java.sql.Time getTime(int parameterIndex) throws SQLException; @@ -352,9 +352,9 @@ public interface CallableStatement extends PreparedStatement { * and so on * @return the parameter value. If the value is SQL NULL, the result * is null. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setTimestamp */ java.sql.Timestamp getTimestamp(int parameterIndex) @@ -378,9 +378,9 @@ public interface CallableStatement extends PreparedStatement { * @param parameterIndex the first parameter is 1, the second is 2, * and so on * @return A java.lang.Object holding the OUT parameter value - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see Types * @see #setObject */ @@ -397,9 +397,9 @@ public interface CallableStatement extends PreparedStatement { * and so on * @return the parameter value in full precision. If the value is * SQL NULL, the result is null. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setBigDecimal * @since 1.2 */ @@ -418,10 +418,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterIndex the first parameter is 1, the second is 2, and so on * @param map the mapping from SQL type names to Java classes * @return a java.lang.Object holding the OUT parameter value - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setObject * @since 1.2 @@ -437,10 +437,10 @@ public interface CallableStatement extends PreparedStatement { * @return the parameter value as a Ref object in the * Java programming language. If the value was SQL NULL, the value * null is returned. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.2 */ @@ -453,10 +453,10 @@ public interface CallableStatement extends PreparedStatement { * @return the parameter value as a Blob object in the * Java programming language. If the value was SQL NULL, the value * null is returned. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.2 */ @@ -470,10 +470,10 @@ public interface CallableStatement extends PreparedStatement { * @return the parameter value as a Clob object in the * Java programming language. If the value was SQL NULL, the * value null is returned. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.2 */ @@ -488,10 +488,10 @@ public interface CallableStatement extends PreparedStatement { * @return the parameter value as an Array object in * the Java programming language. If the value was SQL NULL, the * value null is returned. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.2 */ @@ -513,9 +513,9 @@ public interface CallableStatement extends PreparedStatement { * to construct the date * @return the parameter value. If the value is SQL NULL, the result * is null. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setDate * @since 1.2 */ @@ -538,9 +538,9 @@ public interface CallableStatement extends PreparedStatement { * to construct the time * @return the parameter value; if the value is SQL NULL, the result * is null. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setTime * @since 1.2 */ @@ -564,9 +564,9 @@ public interface CallableStatement extends PreparedStatement { * to construct the timestamp * @return the parameter value. If the value is SQL NULL, the result * is null. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #setTimestamp * @since 1.2 */ @@ -604,15 +604,15 @@ public interface CallableStatement extends PreparedStatement { * @param parameterIndex the first parameter is 1, the second is 2,... * @param sqlType a value from {@link java.sql.Types} * @param typeName the fully-qualified name of an SQL structured type - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if sqlType is - * a ARRAY, BLOB, CLOB, - * DATALINK, JAVA_OBJECT, NCHAR, - * NCLOB, NVARCHAR, LONGNVARCHAR, - * REF, ROWID, SQLXML - * or STRUCT data type and the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if {@code sqlType} is + * a {@code ARRAY}, {@code BLOB}, {@code CLOB}, + * {@code DATALINK}, {@code JAVA_OBJECT}, {@code NCHAR}, + * {@code NCLOB}, {@code NVARCHAR}, {@code LONGNVARCHAR}, + * {@code REF}, {@code ROWID}, {@code SQLXML} + * or {@code STRUCT} data type and the JDBC driver does not support * this data type * @see Types * @since 1.2 @@ -642,15 +642,15 @@ public interface CallableStatement extends PreparedStatement { * or DECIMAL, the version of * registerOutParameter that accepts a scale value * should be used. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if sqlType is - * a ARRAY, BLOB, CLOB, - * DATALINK, JAVA_OBJECT, NCHAR, - * NCLOB, NVARCHAR, LONGNVARCHAR, - * REF, ROWID, SQLXML - * or STRUCT data type and the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if {@code sqlType} is + * a {@code ARRAY}, {@code BLOB}, {@code CLOB}, + * {@code DATALINK}, {@code JAVA_OBJECT}, {@code NCHAR}, + * {@code NCLOB}, {@code NVARCHAR}, {@code LONGNVARCHAR}, + * {@code REF}, {@code ROWID}, {@code SQLXML} + * or {@code STRUCT} data type and the JDBC driver does not support * this data type or if the JDBC driver does not support * this method * @since 1.4 @@ -677,15 +677,15 @@ public interface CallableStatement extends PreparedStatement { * @param sqlType SQL type code defined by java.sql.Types. * @param scale the desired number of digits to the right of the * decimal point. It must be greater than or equal to zero. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if sqlType is - * a ARRAY, BLOB, CLOB, - * DATALINK, JAVA_OBJECT, NCHAR, - * NCLOB, NVARCHAR, LONGNVARCHAR, - * REF, ROWID, SQLXML - * or STRUCT data type and the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if {@code sqlType} is + * a {@code ARRAY}, {@code BLOB}, {@code CLOB}, + * {@code DATALINK}, {@code JAVA_OBJECT}, {@code NCHAR}, + * {@code NCLOB}, {@code NVARCHAR}, {@code LONGNVARCHAR}, + * {@code REF}, {@code ROWID}, {@code SQLXML} + * or {@code STRUCT} data type and the JDBC driver does not support * this data type or if the JDBC driver does not support * this method * @since 1.4 @@ -724,15 +724,15 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @param sqlType a value from {@link java.sql.Types} * @param typeName the fully-qualified name of an SQL structured type - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if sqlType is - * a ARRAY, BLOB, CLOB, - * DATALINK, JAVA_OBJECT, NCHAR, - * NCLOB, NVARCHAR, LONGNVARCHAR, - * REF, ROWID, SQLXML - * or STRUCT data type and the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if {@code sqlType} is + * a {@code ARRAY}, {@code BLOB}, {@code CLOB}, + * {@code DATALINK}, {@code JAVA_OBJECT}, {@code NCHAR}, + * {@code NCLOB}, {@code NVARCHAR}, {@code LONGNVARCHAR}, + * {@code REF}, {@code ROWID}, {@code SQLXML} + * or {@code STRUCT} data type and the JDBC driver does not support * this data type or if the JDBC driver does not support * this method * @see Types @@ -749,12 +749,12 @@ public interface CallableStatement extends PreparedStatement { * @return a java.net.URL object that represents the * JDBC DATALINK value used as the designated * parameter - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs, - * this method is called on a closed CallableStatement, + * this method is called on a closed {@code CallableStatement}, * or if the URL being returned is * not a valid URL on the Java platform - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setURL * @since 1.4 @@ -768,11 +768,11 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param val the parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs; - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * or if a URL is malformed - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getURL * @since 1.4 @@ -786,10 +786,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param sqlType the SQL type code defined in java.sql.Types - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 */ @@ -802,11 +802,11 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @see #getBoolean - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 */ @@ -819,10 +819,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getByte * @since 1.4 @@ -836,10 +836,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getShort * @since 1.4 @@ -853,10 +853,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getInt * @since 1.4 @@ -870,10 +870,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getLong * @since 1.4 @@ -887,10 +887,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getFloat * @since 1.4 @@ -904,10 +904,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getDouble * @since 1.4 @@ -922,10 +922,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getBigDecimal * @since 1.4 @@ -942,10 +942,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getString * @since 1.4 @@ -961,10 +961,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getBytes * @since 1.4 @@ -980,10 +980,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getDate * @since 1.4 @@ -998,10 +998,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getTime * @since 1.4 @@ -1017,10 +1017,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getTimestamp * @since 1.4 @@ -1044,10 +1044,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @param x the Java input stream that contains the ASCII parameter value * @param length the number of bytes in the stream - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 */ @@ -1069,10 +1069,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @param x the java input stream which contains the binary parameter value * @param length the number of bytes in the stream - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 */ @@ -1105,10 +1105,10 @@ public interface CallableStatement extends PreparedStatement { * @param scale for java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types, * this is the number of digits after the decimal point. For all other * types, this value will be ignored. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if * the JDBC driver does not support the specified targetSqlType * @see Types * @see #getObject @@ -1128,10 +1128,10 @@ public interface CallableStatement extends PreparedStatement { * @param x the object containing the input parameter value * @param targetSqlType the SQL type (as defined in java.sql.Types) to be * sent to the database - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if * the JDBC driver does not support the specified targetSqlType * @see #getObject * @since 1.4 @@ -1170,11 +1170,11 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the object containing the input parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs, - * this method is called on a closed CallableStatement or if the given - * Object parameter is ambiguous - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} or if the given + * {@code Object} parameter is ambiguous + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getObject * @since 1.4 @@ -1199,10 +1199,10 @@ public interface CallableStatement extends PreparedStatement { * @param reader the java.io.Reader object that * contains the UNICODE data used as the designated parameter * @param length the number of characters in the stream - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 */ @@ -1224,10 +1224,10 @@ public interface CallableStatement extends PreparedStatement { * @param x the parameter value * @param cal the Calendar object the driver will use * to construct the date - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getDate * @since 1.4 @@ -1249,10 +1249,10 @@ public interface CallableStatement extends PreparedStatement { * @param x the parameter value * @param cal the Calendar object the driver will use * to construct the time - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getTime * @since 1.4 @@ -1274,10 +1274,10 @@ public interface CallableStatement extends PreparedStatement { * @param x the parameter value * @param cal the Calendar object the driver will use * to construct the timestamp - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #getTimestamp * @since 1.4 @@ -1309,10 +1309,10 @@ public interface CallableStatement extends PreparedStatement { * @param typeName the fully-qualified name of an SQL user-defined type; * ignored if the parameter is not a user-defined type or * SQL REF value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 */ @@ -1332,10 +1332,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @return the parameter value. If the value is SQL NULL, the result * is null. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setString * @since 1.4 @@ -1349,10 +1349,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @return the parameter value. If the value is SQL NULL, the result * is false. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setBoolean * @since 1.4 @@ -1365,10 +1365,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @return the parameter value. If the value is SQL NULL, the result * is 0. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setByte * @since 1.4 @@ -1381,10 +1381,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @return the parameter value. If the value is SQL NULL, the result * is 0. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setShort * @since 1.4 @@ -1398,10 +1398,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @return the parameter value. If the value is SQL NULL, * the result is 0. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setInt * @since 1.4 @@ -1415,10 +1415,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @return the parameter value. If the value is SQL NULL, * the result is 0. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setLong * @since 1.4 @@ -1431,10 +1431,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @return the parameter value. If the value is SQL NULL, * the result is 0. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setFloat * @since 1.4 @@ -1447,10 +1447,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @return the parameter value. If the value is SQL NULL, * the result is 0. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setDouble * @since 1.4 @@ -1464,10 +1464,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @return the parameter value. If the value is SQL NULL, the result is * null. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setBytes * @since 1.4 @@ -1480,10 +1480,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @return the parameter value. If the value is SQL NULL, the result * is null. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setDate * @since 1.4 @@ -1496,10 +1496,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @return the parameter value. If the value is SQL NULL, the result * is null. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setTime * @since 1.4 @@ -1512,10 +1512,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @return the parameter value. If the value is SQL NULL, the result * is null. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setTimestamp * @since 1.4 @@ -1534,10 +1534,10 @@ public interface CallableStatement extends PreparedStatement { * to read database-specific abstract data types. * @param parameterName the name of the parameter * @return A java.lang.Object holding the OUT parameter value. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see Types * @see #setObject @@ -1552,10 +1552,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @return the parameter value in full precision. If the value is * SQL NULL, the result is null. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setBigDecimal * @since 1.4 @@ -1575,10 +1575,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @param map the mapping from SQL type names to Java classes * @return a java.lang.Object holding the OUT parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setObject * @since 1.4 @@ -1594,10 +1594,10 @@ public interface CallableStatement extends PreparedStatement { * @return the parameter value as a Ref object in the * Java programming language. If the value was SQL NULL, * the value null is returned. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 */ @@ -1611,10 +1611,10 @@ public interface CallableStatement extends PreparedStatement { * @return the parameter value as a Blob object in the * Java programming language. If the value was SQL NULL, * the value null is returned. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 */ @@ -1627,10 +1627,10 @@ public interface CallableStatement extends PreparedStatement { * @return the parameter value as a Clob object in the * Java programming language. If the value was SQL NULL, * the value null is returned. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 */ @@ -1644,10 +1644,10 @@ public interface CallableStatement extends PreparedStatement { * @return the parameter value as an Array object in * Java programming language. If the value was SQL NULL, * the value null is returned. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 */ @@ -1668,10 +1668,10 @@ public interface CallableStatement extends PreparedStatement { * to construct the date * @return the parameter value. If the value is SQL NULL, * the result is null. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setDate * @since 1.4 @@ -1694,10 +1694,10 @@ public interface CallableStatement extends PreparedStatement { * to construct the time * @return the parameter value; if the value is SQL NULL, the result is * null. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setTime * @since 1.4 @@ -1721,10 +1721,10 @@ public interface CallableStatement extends PreparedStatement { * to construct the timestamp * @return the parameter value. If the value is SQL NULL, the result is * null. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setTimestamp * @since 1.4 @@ -1740,11 +1740,11 @@ public interface CallableStatement extends PreparedStatement { * @return the parameter value as a java.net.URL object in the * Java programming language. If the value was SQL NULL, the * value null is returned. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs, - * this method is called on a closed CallableStatement, + * this method is called on a closed {@code CallableStatement}, * or if there is a problem with the URL - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see #setURL * @since 1.4 @@ -1764,7 +1764,7 @@ public interface CallableStatement extends PreparedStatement { * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -1781,7 +1781,7 @@ public interface CallableStatement extends PreparedStatement { * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -1797,7 +1797,7 @@ public interface CallableStatement extends PreparedStatement { * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -1814,7 +1814,7 @@ public interface CallableStatement extends PreparedStatement { * character sets; if the driver can detect that a data conversion * error could occur; if a database access error occurs or * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -1834,7 +1834,7 @@ public interface CallableStatement extends PreparedStatement { * character sets; if the driver can detect that a data conversion * error could occur; if a database access error occurs or * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -1852,7 +1852,7 @@ public interface CallableStatement extends PreparedStatement { * character sets; if the driver can detect that a data conversion * error could occur; if a database access error occurs or * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -1874,7 +1874,7 @@ public interface CallableStatement extends PreparedStatement { * parameter; if the length specified is less than zero; * a database access error occurs or * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * * @since 1.6 @@ -1904,7 +1904,7 @@ public interface CallableStatement extends PreparedStatement { * is less than zero; if the number of bytes in the {@code InputStream} * does not match the specified length; if a database access error occurs or * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * * @since 1.6 @@ -1930,7 +1930,7 @@ public interface CallableStatement extends PreparedStatement { * character sets; if the driver can detect that a data conversion * error could occur; if a database access error occurs or * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -1946,12 +1946,12 @@ public interface CallableStatement extends PreparedStatement { * @return the parameter value as a NClob object in the * Java programming language. If the value was SQL NULL, the * value null is returned. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if the driver does not support national * character sets; if the driver can detect that a data conversion * error could occur; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -1965,12 +1965,12 @@ public interface CallableStatement extends PreparedStatement { * @return the parameter value as a NClob object in the * Java programming language. If the value was SQL NULL, * the value null is returned. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if the driver does not support national * character sets; if the driver can detect that a data conversion * error could occur; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -1987,7 +1987,7 @@ public interface CallableStatement extends PreparedStatement { * this method is called on a closed CallableStatement or * the java.xml.transform.Result, * Writer or OutputStream has not been closed for the SQLXML object - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * * @since 1.6 @@ -2002,7 +2002,7 @@ public interface CallableStatement extends PreparedStatement { * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -2016,7 +2016,7 @@ public interface CallableStatement extends PreparedStatement { * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -2037,10 +2037,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterIndex index of the first parameter is 1, the second is 2, ... * @return a String object that maps an * NCHAR, NVARCHAR or LONGNVARCHAR value - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 * @see #setNString @@ -2063,11 +2063,11 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @return a String object that maps an * NCHAR, NVARCHAR or LONGNVARCHAR value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; * if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 * @see #setNString @@ -2085,10 +2085,10 @@ public interface CallableStatement extends PreparedStatement { * value; if the value is SQL NULL, the value returned is * null in the Java programming language. * @param parameterIndex the first parameter is 1, the second is 2, ... - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -2105,10 +2105,10 @@ public interface CallableStatement extends PreparedStatement { * @return a java.io.Reader object that contains the parameter * value; if the value is SQL NULL, the value returned is * null in the Java programming language - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -2122,8 +2122,8 @@ public interface CallableStatement extends PreparedStatement { * value; if the value is SQL NULL, the value returned is * null in the Java programming language. * @param parameterIndex the first parameter is 1, the second is 2, ... - * @exception SQLException if the parameterIndex is not valid; if a database access error occurs or - * this method is called on a closed CallableStatement + * @throws SQLException if the parameterIndex is not valid; if a database access error occurs or + * this method is called on a closed {@code CallableStatement} * @since 1.6 */ java.io.Reader getCharacterStream(int parameterIndex) throws SQLException; @@ -2136,10 +2136,10 @@ public interface CallableStatement extends PreparedStatement { * @return a java.io.Reader object that contains the parameter * value; if the value is SQL NULL, the value returned is * null in the Java programming language - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -2152,10 +2152,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x a Blob object that maps an SQL BLOB value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -2168,10 +2168,10 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x a Clob object that maps an SQL CLOB value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -2192,10 +2192,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @param x the Java input stream that contains the ASCII parameter value * @param length the number of bytes in the stream - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -2217,10 +2217,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @param x the java input stream which contains the binary parameter value * @param length the number of bytes in the stream - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -2243,10 +2243,10 @@ public interface CallableStatement extends PreparedStatement { * @param reader the java.io.Reader object that * contains the UNICODE data used as the designated parameter * @param length the number of characters in the stream - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * this method is called on a closed {@code CallableStatement} + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -2271,9 +2271,9 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the Java input stream that contains the ASCII parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method * @since 1.6 */ @@ -2295,9 +2295,9 @@ public interface CallableStatement extends PreparedStatement { * * @param parameterName the name of the parameter * @param x the java input stream which contains the binary parameter value - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method * @since 1.6 */ @@ -2322,9 +2322,9 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @param reader the java.io.Reader object that contains the * Unicode data - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or - * this method is called on a closed CallableStatement + * this method is called on a closed {@code CallableStatement} * @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method * @since 1.6 */ @@ -2531,13 +2531,13 @@ public interface CallableStatement extends PreparedStatement { * this is the length * of the data in the stream or reader. For all other types, * this value will be ignored. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs * or this method is called on a closed {@code CallableStatement} or * if the Java Object specified by x is an InputStream * or Reader object and the value of the scale parameter is less * than zero - * @exception SQLFeatureNotSupportedException if + * @throws SQLFeatureNotSupportedException if * the JDBC driver does not support the specified targetSqlType * @see JDBCType * @see SQLType @@ -2560,10 +2560,10 @@ public interface CallableStatement extends PreparedStatement { * @param parameterName the name of the parameter * @param x the object containing the input parameter value * @param targetSqlType the SQL type to be sent to the database - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs * or this method is called on a closed {@code CallableStatement} - * @exception SQLFeatureNotSupportedException if + * @throws SQLFeatureNotSupportedException if * the JDBC driver does not support the specified targetSqlType * @see JDBCType * @see SQLType @@ -2601,10 +2601,10 @@ public interface CallableStatement extends PreparedStatement { * {@code registerOutParameter} that accepts a scale value * should be used. * - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or * this method is called on a closed {@code CallableStatement} - * @exception SQLFeatureNotSupportedException if + * @throws SQLFeatureNotSupportedException if * the JDBC driver does not support the specified sqlType * @see JDBCType * @see SQLType @@ -2637,10 +2637,10 @@ public interface CallableStatement extends PreparedStatement { * register the OUT Parameter. * @param scale the desired number of digits to the right of the * decimal point. It must be greater than or equal to zero. - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or * this method is called on a closed {@code CallableStatement} - * @exception SQLFeatureNotSupportedException if + * @throws SQLFeatureNotSupportedException if * the JDBC driver does not support the specified sqlType * @see JDBCType * @see SQLType @@ -2684,10 +2684,10 @@ public interface CallableStatement extends PreparedStatement { * @param sqlType the JDBC type code defined by {@code SQLType} to use to * register the OUT Parameter. * @param typeName the fully-qualified name of an SQL structured type - * @exception SQLException if the parameterIndex is not valid; + * @throws SQLException if the parameterIndex is not valid; * if a database access error occurs or * this method is called on a closed {@code CallableStatement} - * @exception SQLFeatureNotSupportedException if + * @throws SQLFeatureNotSupportedException if * the JDBC driver does not support the specified sqlType * @see JDBCType * @see SQLType @@ -2723,10 +2723,10 @@ public interface CallableStatement extends PreparedStatement { * or {@code JDBCType.DECIMAL}, the version of * {@code registerOutParameter} that accepts a scale value * should be used. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or * this method is called on a closed {@code CallableStatement} - * @exception SQLFeatureNotSupportedException if + * @throws SQLFeatureNotSupportedException if * the JDBC driver does not support the specified sqlType * or if the JDBC driver does not support * this method @@ -2760,10 +2760,10 @@ public interface CallableStatement extends PreparedStatement { * register the OUT Parameter. * @param scale the desired number of digits to the right of the * decimal point. It must be greater than or equal to zero. - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or * this method is called on a closed {@code CallableStatement} - * @exception SQLFeatureNotSupportedException if + * @throws SQLFeatureNotSupportedException if * the JDBC driver does not support the specified sqlType * or if the JDBC driver does not support * this method @@ -2809,10 +2809,10 @@ public interface CallableStatement extends PreparedStatement { * @param sqlType the JDBC type code defined by {@code SQLType} to use to * register the OUT Parameter. * @param typeName the fully-qualified name of an SQL structured type - * @exception SQLException if parameterName does not correspond to a named + * @throws SQLException if parameterName does not correspond to a named * parameter; if a database access error occurs or * this method is called on a closed {@code CallableStatement} - * @exception SQLFeatureNotSupportedException if + * @throws SQLFeatureNotSupportedException if * the JDBC driver does not support the specified sqlType * or if the JDBC driver does not support this method * @see JDBCType -- cgit v1.3.1