mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8230648: Replace @exception tag with @throws in java.base
Minor coding style update of javadoc tag in any file in java.base Reviewed-by: prappo, lancea
This commit is contained in:
parent
2fc6c6459d
commit
b15b322cf3
196 changed files with 1959 additions and 1962 deletions
|
@ -66,7 +66,7 @@ public abstract class URLStreamHandler {
|
|||
*
|
||||
* @param u the URL that this connects to.
|
||||
* @return a {@code URLConnection} object for the {@code URL}.
|
||||
* @exception IOException if an I/O error occurs while opening the
|
||||
* @throws IOException if an I/O error occurs while opening the
|
||||
* connection.
|
||||
*/
|
||||
protected abstract URLConnection openConnection(URL u) throws IOException;
|
||||
|
@ -91,11 +91,11 @@ public abstract class URLStreamHandler {
|
|||
* If direct connection is desired, Proxy.NO_PROXY
|
||||
* should be specified.
|
||||
* @return a {@code URLConnection} object for the {@code URL}.
|
||||
* @exception IOException if an I/O error occurs while opening the
|
||||
* @throws IOException if an I/O error occurs while opening the
|
||||
* connection.
|
||||
* @exception IllegalArgumentException if either u or p is null,
|
||||
* @throws IllegalArgumentException if either u or p is null,
|
||||
* or p has the wrong type.
|
||||
* @exception UnsupportedOperationException if the subclass that
|
||||
* @throws UnsupportedOperationException if the subclass that
|
||||
* implements the protocol doesn't support this method.
|
||||
* @since 1.5
|
||||
*/
|
||||
|
@ -510,7 +510,7 @@ public abstract class URLStreamHandler {
|
|||
* @param path the path component of the URL.
|
||||
* @param query the query part for the URL.
|
||||
* @param ref the reference.
|
||||
* @exception SecurityException if the protocol handler of the URL is
|
||||
* @throws SecurityException if the protocol handler of the URL is
|
||||
* different from this one
|
||||
* @since 1.3
|
||||
*/
|
||||
|
@ -539,7 +539,7 @@ public abstract class URLStreamHandler {
|
|||
* @param port the port on the remote machine.
|
||||
* @param file the file.
|
||||
* @param ref the reference.
|
||||
* @exception SecurityException if the protocol handler of the URL is
|
||||
* @throws SecurityException if the protocol handler of the URL is
|
||||
* different from this one
|
||||
* @deprecated Use setURL(URL, String, String, int, String, String, String,
|
||||
* String);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue