@@ -84,7 +84,7 @@ public ThresholdingOutputStream(final int threshold)
8484 *
8585 * @param b The byte to be written.
8686 *
87- * @exception IOException if an error occurs.
87+ * @throws IOException if an error occurs.
8888 */
8989 @ Override
9090 public void write (final int b ) throws IOException
@@ -101,7 +101,7 @@ public void write(final int b) throws IOException
101101 *
102102 * @param b The array of bytes to be written.
103103 *
104- * @exception IOException if an error occurs.
104+ * @throws IOException if an error occurs.
105105 */
106106 @ Override
107107 public void write (final byte b []) throws IOException
@@ -120,7 +120,7 @@ public void write(final byte b[]) throws IOException
120120 * @param off The start offset in the byte array.
121121 * @param len The number of bytes to write.
122122 *
123- * @exception IOException if an error occurs.
123+ * @throws IOException if an error occurs.
124124 */
125125 @ Override
126126 public void write (final byte b [], final int off , final int len ) throws IOException
@@ -135,7 +135,7 @@ public void write(final byte b[], final int off, final int len) throws IOExcepti
135135 * Flushes this output stream and forces any buffered output bytes to be
136136 * written out.
137137 *
138- * @exception IOException if an error occurs.
138+ * @throws IOException if an error occurs.
139139 */
140140 @ Override
141141 public void flush () throws IOException
@@ -148,7 +148,7 @@ public void flush() throws IOException
148148 * Closes this output stream and releases any system resources associated
149149 * with this stream.
150150 *
151- * @exception IOException if an error occurs.
151+ * @throws IOException if an error occurs.
152152 */
153153 @ Override
154154 public void close () throws IOException
@@ -214,7 +214,7 @@ public boolean isThresholdExceeded()
214214 * @param count The number of bytes about to be written to the underlying
215215 * output stream.
216216 *
217- * @exception IOException if an error occurs.
217+ * @throws IOException if an error occurs.
218218 */
219219 protected void checkThreshold (final int count ) throws IOException
220220 {
@@ -258,7 +258,7 @@ protected void setByteCount(final long count) {
258258 *
259259 * @return The underlying output stream.
260260 *
261- * @exception IOException if an error occurs.
261+ * @throws IOException if an error occurs.
262262 */
263263 protected abstract OutputStream getStream () throws IOException ;
264264
@@ -268,7 +268,7 @@ protected void setByteCount(final long count) {
268268 * subclass should take whatever action necessary on this event. This may
269269 * include changing the underlying output stream.
270270 *
271- * @exception IOException if an error occurs.
271+ * @throws IOException if an error occurs.
272272 */
273273 protected abstract void thresholdReached () throws IOException ;
274274}
0 commit comments