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/SQLData.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/java.sql/share/classes/java/sql/SQLData.java') diff --git a/src/java.sql/share/classes/java/sql/SQLData.java b/src/java.sql/share/classes/java/sql/SQLData.java index 7d83c7374cd..860cd06465a 100644 --- a/src/java.sql/share/classes/java/sql/SQLData.java +++ b/src/java.sql/share/classes/java/sql/SQLData.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2006, 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 @@ -72,8 +72,8 @@ public interface SQLData { * * @return the type name that was passed to the method readSQL * when this object was constructed and populated - * @exception SQLException if there is a database access error - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLException if there is a database access error + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.2 */ @@ -104,8 +104,8 @@ public interface SQLData { * @param stream the SQLInput object from which to read the data for * the value that is being custom mapped * @param typeName the SQL type name of the value on the data stream - * @exception SQLException if there is a database access error - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLException if there is a database access error + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see SQLInput * @since 1.2 @@ -127,8 +127,8 @@ public interface SQLData { * * @param stream the SQLOutput object to which to write the data for * the value that was custom mapped - * @exception SQLException if there is a database access error - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLException if there is a database access error + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @see SQLOutput * @since 1.2 -- cgit v1.3.1