} catch (Throwable t) { System.err.println(t.getMessage()); t.printStackTrace(System.err);
} catch (Throwable t) {
    public void write(Device s) throws IOException {        try {            if (visible) {                cg.write(s, this);            }        } catch (Throwable t) {            System.err.println(t.getMessage());            t.printStackTrace(System.err);            logger.log(Level.SEVERE, "exception during code generation for " +                                     getClass().getName(), t);        }    }