All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.threadly.util.ExceptionHandler Maven / Gradle / Ivy

Go to download

A library of tools to assist with safe concurrent java development. Providing a unique priority based thread pool, and ways to distrbute threaded work.

There is a newer version: 7.0
Show newest version
package org.threadly.util;

/**
 * 

Interface for implementation to handle exceptions which occur. This is similar to * {@link java.lang.Thread.UncaughtExceptionHandler}, except that exceptions provided to this * interface are handled on the same thread that threw the exception, and the thread that threw it * likely WONT die.

* * @author jent - Mike Jensen * @since 4.3.0 (since 2.4.0 as ExceptionHandlerInterface) */ public interface ExceptionHandler { /** * An exception was thrown on this thread, and is now being provided to this handler to handle * it (possibly just to simply log it occurred). * * @param thrown Throwable that was thrown, and caught */ public void handleException(Throwable thrown); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy