Re: NestedException patch (Re: Embed E in Java)
Kevin Reid <[email protected]>
| Newsgroups | gmane.comp.lang.e.general |
|---|---|
| Message-ID | <[email protected]> |
On Mar 9, 2010, at 6:43, Thomas Leonard wrote:
> I notice that this change makes Java 1.6 the minimum supported
> version:
>
> public EBacktraceIOException(Throwable t, String msg) {
> super(msg, t);
> }
>
> This IOException constructor isn't in 1.5:
>
> http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html
>
> It's not a problem for me, but it might be worth using initCause
> instead.
Aah, that probably explains why it “works” in the regular make but
Eclipse notices a lack of the constructor. I agree with your proposed
fix.
--
Kevin Reid <http://switchb.org/kpreid/>