This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Kawa wraps Java exceptions unexpectedly
- To: Jocelyn Paine <popx at pop3 dot ifs dot org dot uk>
- Subject: Re: Kawa wraps Java exceptions unexpectedly
- From: Per Bothner <per at bothner dot com>
- Date: Tue, 30 Oct 2001 12:08:02 -0800
- CC: kawa at sourceware dot cygnus dot com
- References: <Pine.LNX.4.10.10110071551150.1388-100000@pop3.ifs.org.uk>
Jocelyn Paine wrote:
>Consider
> (make <java.io.FileReader> (make <java.io.File> "+&&^&&+"))
>where the filename is invalid. I would have expected this to throw a
>java.io.FileNotFoundException. Instead, it throws
> java.lang.RuntimeException: java.io.FileNotFoundException: + %% && +++
>where the original FileNotFoundException has been, I presume, converted to
>
As of version 1.6.96 Kawa does throw FileNotFoudnException.
(I mentioned this before, but I'm just making it more explicit.)
--Per