From c6e991f33b056d116ee88ee34256fba1715be6df Mon Sep 17 00:00:00 2001 From: tromey Date: Tue, 4 Feb 2003 21:07:15 +0000 Subject: * java/io/PipedOutputStream.java (flush): Declare as throwing IOException. (close): Likewise. * java/io/PipedWriter.java (close): Declare as throwing IOException. * java/io/StringWriter.java (close): Declare as throwing IOException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62401 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/java/io/PipedWriter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libjava/java/io/PipedWriter.java') diff --git a/libjava/java/io/PipedWriter.java b/libjava/java/io/PipedWriter.java index 0ab3c0b8e12..e1a21156075 100644 --- a/libjava/java/io/PipedWriter.java +++ b/libjava/java/io/PipedWriter.java @@ -1,5 +1,5 @@ /* PipedWriter.java -- Write portion of piped character streams. - Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1998, 2000, 2001, 2003 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -166,7 +166,7 @@ public class PipedWriter extends Writer * * @exception IOException If an error occurs */ - public void close() + public void close() throws IOException { // A close call on an unconnected PipedWriter has no effect. if (sink != null) -- cgit v1.2.1