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

net.sf.gluebooster.java.booster.basic.events.ThrowableHandler Maven / Gradle / Ivy

package net.sf.gluebooster.java.booster.basic.events;

/**
 * A throwable handler can handle throwables for example by logging or by again throwing them.
 * @author CBauer
 *
 * @param  The base class of the throwable that may be thrown when handling.
 */
public interface ThrowableHandler {
	
	/**
	 * Handle a given throwable
	 * 
	 * @param throwable
	 *            will be handled.
	 * @throws T
	 */
	void handleThrowable(Throwable throwable) throws T;
 
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy