Bug#472053: Fwd: [Rxtx] gnu.io.RXTXPort discards exception silently if initialization fails

Scott Howard showard314 at gmail.com
Wed Jun 23 21:16:41 UTC 2010


---------- Forwarded message ----------
From: Kustaa Nyholm <Kustaa.Nyholm at planmeca.com>
Date: Wed, Jun 23, 2010 at 1:38 AM
Subject: Re: [Rxtx] gnu.io.RXTXPort discards exception silently if
initialization fails
To: "rxtx at qbang.org" <rxtx at qbang.org>



> I did change the code to
>                try {
>                        z = new Zystem();
>                } catch ( Exception e ) {
>                        throw new Error(e.toString());
>                };

Is there a reason why this could/should not be:


>                try {
>                        z = new Zystem();
>                } catch ( Throwable e ) {
>                        e.printStackTrace(System.err);
>                };

_______________________________________________
Rxtx mailing list
Rxtx at qbang.org
http://mailman.qbang.org/mailman/listinfo/rxtx





More information about the pkg-java-maintainers mailing list