This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Kawa wraps Java exceptions unexpectedly


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]