Stuff
public text v1 · immutable try {
driver = new jpos.FiscalPrinter();
driver.open(info.get("pos-device"));
driver.claim(1000);
driver.setDeviceEnabled(true);
}
catch (JposException e) {
Exception exception = e;
do {
System.err.println("-----------------");
exception.printStackTrace(System.err);
exception = ((JposException)exception).getOrigException();
} while (exception instanceof JposException);
System.err.println("-----------------");
throw e;
}