Stephen Adkins wrote:
>
> Compiling ./java/org/apache/turbine/util/webmacro/WebMacroNavigation.java
> ./java/org/apache/turbine/util/webmacro/WebMacroNavigation.java:138:
> Exception java.io.IOException is never thrown in the body of the
> corresponding try statement.
> catch (IOException e)
> ^
When I've added the CastorService I've had to add that try/catch block
around the sw.close() statement, because my compiler (Java 1.2)
complained "IOException must be caught". In the same announcement mail
I've asked the author (Dave Bryson) to check that, but didn't get an
answer.
Can it be that Java 1.1 doesn't throws a IOException in a close to a
StringWriter but Java 1.2 does?
Giacomo
--
PWR Organisation & Entwicklung Tel: +41 (0)1 856 2202
Giacomo Pati, CTO/CEO Fax: +41 (0)1 856 2201
Hintereichenstrasse 7 Mailto:[EMAIL PROTECTED]
CH-8166 Niederweningen Web: http://www.pwr.ch
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]