diff options
| author | Vipin Sharma <vsharma@openjdk.org> | 2020-10-02 14:50:53 +0000 |
|---|---|---|
| committer | Lance Andersen <lancea@openjdk.org> | 2020-10-02 14:50:53 +0000 |
| commit | dffe9db25c19a7e99d3d35c535197bf7e4c15c8a (patch) | |
| tree | 2f215db9c5d943ca9668d364dbacf994194876c8 /src/java.sql/share/classes/java/sql/SQLXML.java | |
| parent | 406db1c270a69868b415362d49202c790da27c70 (diff) | |
| download | openjdk-dffe9db25c19a7e99d3d35c535197bf7e4c15c8a.tar.gz openjdk-dffe9db25c19a7e99d3d35c535197bf7e4c15c8a.zip | |
8252537: Updated @exception with @throws
8252536: Replace @exception with @throws for core-libs
8252539: Replace @exception with @throws java.rmi.activation package
8252540: Replace @exception with @throws java.rmi.registry package
8252541: Replace @exception with @throws java.rmi.server package
Reviewed-by: rriggs, sspitsyn, lancea
Diffstat (limited to 'src/java.sql/share/classes/java/sql/SQLXML.java')
| -rw-r--r-- | src/java.sql/share/classes/java/sql/SQLXML.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/java.sql/share/classes/java/sql/SQLXML.java b/src/java.sql/share/classes/java/sql/SQLXML.java index 680ab7df5a5..7b2c56d1a20 100644 --- a/src/java.sql/share/classes/java/sql/SQLXML.java +++ b/src/java.sql/share/classes/java/sql/SQLXML.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 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 @@ -200,7 +200,7 @@ public interface SQLXML * being thrown. If <code>free</code> is called multiple times, the subsequent * calls to <code>free</code> are treated as a no-op. * @throws SQLException if there is an error freeing the XML value. - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -218,7 +218,7 @@ public interface SQLXML * @return a stream containing the XML data. * @throws SQLException if there is an error processing the XML value. * An exception is thrown if the state is not readable. - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -237,7 +237,7 @@ public interface SQLXML * @return a stream to which data can be written. * @throws SQLException if there is an error processing the XML value. * An exception is thrown if the state is not writable. - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -261,7 +261,7 @@ public interface SQLXML * The getCause() method of the exception may provide a more detailed exception, for example, * if the stream does not contain valid characters. * An exception is thrown if the state is not readable. - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -285,7 +285,7 @@ public interface SQLXML * The getCause() method of the exception may provide a more detailed exception, for example, * if the stream does not contain valid characters. * An exception is thrown if the state is not writable. - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -309,7 +309,7 @@ public interface SQLXML * The getCause() method of the exception may provide a more detailed exception, for example, * if the stream does not contain valid characters. * An exception is thrown if the state is not readable. - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -333,7 +333,7 @@ public interface SQLXML * The getCause() method of the exception may provide a more detailed exception, for example, * if the stream does not contain valid characters. * An exception is thrown if the state is not writable. - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -376,7 +376,7 @@ public interface SQLXML * The getCause() method of the exception may provide a more detailed exception, for example, * if an XML parser exception occurs. * An exception is thrown if the state is not readable. - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ @@ -418,7 +418,7 @@ public interface SQLXML * The getCause() method of the exception may provide a more detailed exception, for example, * if an XML parser exception occurs. * An exception is thrown if the state is not writable. - * @exception SQLFeatureNotSupportedException if the JDBC driver does not support + * @throws SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.6 */ |
