474849505152535455
// Thread.currentThread().sleep(1000); // } catch (InterruptedException ex) { // } // getHVScroll().slowScrollToCenter(rootNode); } catch (TGException e) { throw new JRatException("buildTouchGraphTree failed ", e); } setVisible(true); }
56575859606162
for (int i = 0; i < LEVEL_NAMES.length; i++) { if (levelName.equals(LEVEL_NAMES[i])) { return i; } } throw new JRatException("log level '" + levelName + "' is not known"); }
2930313233343536
try { return call(); } catch (RuntimeException e) { throw e; } catch (Throwable e) { throw new JRatException("command failed", e); } }
2324252627282930
PrintWriter printWriter = getContext().createPrintWriter(getDefaultOutputFileName()); methodHandler = new ErrorsMethodHandler(printWriter); } return methodHandler; } catch (Exception e) { throw new JRatException("ErrorsMethodHandlerFactory error", e); } }
3334353637383940
public synchronized void addTarget(Object target) { if (iface.isAssignableFrom(target.getClass())) { targets.add(target); } else { throw new JRatException("unable to add target of type " + target.getClass()); } }