ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Bailliez" <sbaill...@apache.org>
Subject Re: Error output for IOException for Javac
Date Sat, 13 Jul 2002 07:15:53 GMT
----- Original Message -----
From: "Diane Holt" <holtdl@yahoo.com>

> 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 BuildException.java it says "cause [...] may be null",
> but my question is, in this particular case (Java exception-wise), would
> you expect it to be?

Yes you have a value. You are in the catch block because you caught this
exception.
So it exists and is not null.

Cheers,

Stephane




--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message