All pastes #808408 Raw Edit

Stuff

public text v1 · immutable
·published 2007-12-07 16:22 UTC
rendered paste body
        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;
        }