ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Error output for IOException for Javac
Date Sat, 13 Jul 2002 00:55:46 GMT
This is the catch block for the try in executeExternalCompiler() in
           } catch (IOException e) {
               throw new BuildException("Error running " + args[0]
                       + " compiler", e, location);

If you got that error, should you expect "e" to have a value? Or would you
expect to get just the location and "Error running javac compiler" printed
out. I see that in it says "cause [...] may be null",
but my question is, in this particular case (Java exception-wise), would
you expect it to be?

(It's also not clear to my why the javac compiler is being run from
something called executeExternalCompiler, but I'll pass on that for now.)



Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message