| 1 |
Description: print exception if initialization fails |
| 2 |
Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472053 |
| 3 |
Author: Jan Niehusmann <[email protected]> |
| 4 |
|
| 5 |
Index: rxtx/src/gnu/io/RXTXPort.java |
| 6 |
=================================================================== |
| 7 |
--- rxtx.orig/src/gnu/io/RXTXPort.java 2011-02-03 20:48:21.824924891 -0500 |
| 8 |
+++ rxtx/src/gnu/io/RXTXPort.java 2011-02-03 20:50:04.058464228 -0500 |
| 9 |
@@ -86,7 +86,9 @@ |
| 10 |
{ |
| 11 |
try { |
| 12 |
z = new Zystem(); |
| 13 |
|
| 14 |
+ } catch ( Exception e ) { |
| 15 |
+ throw new Error(e.toString()); |
| 16 |
+ } |
| 17 |
|
| 18 |
if(debug ) |
| 19 |
z.reportln( "RXTXPort {}"); |