@Override public void run() { try { runnable.run(); } catch (Throwable t) { JVMStabilityInspector.inspectThrowable(t); DebuggableThreadPoolExecutor.handleOrLog(t); } } }
@Override public void run() { try { String filename = Utils.resourceToFile(resource); long lastModified = new File(filename).lastModified(); if (lastModified > lastLoaded) { callback.run(); lastLoaded = lastModified; } } catch (Throwable t) { JVMStabilityInspector.inspectThrowable(t); logger.error(String.format("Timed run of %s failed.", callback.getClass()), t); } } }
void enqueue(MessageOut<?> message, int id) { QueuedMessage qm = new QueuedMessage(message, id); try { sendMessage(message, id, qm.timestamp); } catch (IOException e) { JVMStabilityInspector.inspectThrowable(e); } }
@Override public void run() { try { result = callable.call(); } catch (Throwable t) { JVMStabilityInspector.inspectThrowable(t); logger.warn("Uncaught exception on thread {}: {}", Thread.currentThread(), t); result = t; failure = true; } finally { signalAll(); onCompletion(); } }
JVMStabilityInspector.inspectThrowable(e); logger.error("Gossip error", e); } finally {
JVMStabilityInspector.inspectThrowable(t); while (true) { if (get().assigned != null) {