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/Ref.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/java.sql/share/classes/java/sql/Ref.java') diff --git a/src/java.sql/share/classes/java/sql/Ref.java b/src/java.sql/share/classes/java/sql/Ref.java index 5918dd9d95b..1eda6e888a0 100644 --- a/src/java.sql/share/classes/java/sql/Ref.java +++ b/src/java.sql/share/classes/java/sql/Ref.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 @@ -58,8 +58,8 @@ public interface Ref { * this Ref object references. * * @return the fully-qualified SQL name of the referenced SQL structured type - * @exception SQLException if a database access error occurs - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLException if a database access error occurs + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.2 */ @@ -77,8 +77,8 @@ public interface Ref { * @return a Java Object that is the custom mapping for * the SQL structured type to which this Ref * object refers - * @exception SQLException if a database access error occurs - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLException if a database access error occurs + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 * @see #setObject @@ -96,8 +96,8 @@ public interface Ref { * @return a Java Object that is the mapping for * the SQL structured type to which this Ref * object refers - * @exception SQLException if a database access error occurs - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLException if a database access error occurs + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 * @see #setObject @@ -113,8 +113,8 @@ public interface Ref { * @param value an Object representing the SQL * structured type instance that this * Ref object will reference - * @exception SQLException if a database access error occurs - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLException if a database access error occurs + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 * @see #getObject() -- cgit v1.3.1