diff options
| author | Julia Boes <jboes@openjdk.org> | 2019-09-20 11:07:52 +0100 |
|---|---|---|
| committer | Julia Boes <jboes@openjdk.org> | 2019-09-20 11:07:52 +0100 |
| commit | b15b322cf396287b5ae7b8e2a19205791d902fad (patch) | |
| tree | 91c03d816c53f2f39a897978fb3bcc793173ef54 /src/java.base/share/classes/java/net/SocketOutputStream.java | |
| parent | 2fc6c6459d4b0c7538787987ee0518b0133e790d (diff) | |
| download | openjdk-b15b322cf396287b5ae7b8e2a19205791d902fad.tar.gz openjdk-b15b322cf396287b5ae7b8e2a19205791d902fad.zip | |
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
Diffstat (limited to 'src/java.base/share/classes/java/net/SocketOutputStream.java')
| -rw-r--r-- | src/java.base/share/classes/java/net/SocketOutputStream.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/java.base/share/classes/java/net/SocketOutputStream.java b/src/java.base/share/classes/java/net/SocketOutputStream.java index f1fa7d376f8..a73329f15d8 100644 --- a/src/java.base/share/classes/java/net/SocketOutputStream.java +++ b/src/java.base/share/classes/java/net/SocketOutputStream.java @@ -79,7 +79,7 @@ class SocketOutputStream extends FileOutputStream { * @param b the data to be written * @param off the start offset in the data * @param len the number of bytes that are written - * @exception IOException If an I/O error has occurred. + * @throws IOException If an I/O error has occurred. */ private native void socketWrite0(FileDescriptor fd, byte[] b, int off, int len) throws IOException; @@ -90,7 +90,7 @@ class SocketOutputStream extends FileOutputStream { * @param b the data to be written * @param off the start offset in the data * @param len the number of bytes that are written - * @exception IOException If an I/O error has occurred. + * @throws IOException If an I/O error has occurred. */ private void socketWrite(byte b[], int off, int len) throws IOException { @@ -120,7 +120,7 @@ class SocketOutputStream extends FileOutputStream { /** * Writes a byte to the socket. * @param b the data to be written - * @exception IOException If an I/O error has occurred. + * @throws IOException If an I/O error has occurred. */ public void write(int b) throws IOException { temp[0] = (byte)b; @@ -130,7 +130,7 @@ class SocketOutputStream extends FileOutputStream { /** * Writes the contents of the buffer <i>b</i> to the socket. * @param b the data to be written - * @exception SocketException If an I/O error has occurred. + * @throws SocketException If an I/O error has occurred. */ public void write(byte b[]) throws IOException { socketWrite(b, 0, b.length); @@ -142,7 +142,7 @@ class SocketOutputStream extends FileOutputStream { * @param b the data to be written * @param off the start offset in the data * @param len the number of bytes that are written - * @exception SocketException If an I/O error has occurred. + * @throws SocketException If an I/O error has occurred. */ public void write(byte b[], int off, int len) throws IOException { socketWrite(b, off, len); |
