001package org.intellimate.izou.threadpool;
002
003/**
004 * classes who implement this interface get notified when the thread submitted to the ThreadPool crashes.
005 * @author LeanderK
006 * @version 1.0
007 */
008public interface ExceptionCallback {
009    /**
010     * this method gets called when the task submitted to the ThreadPool crashes
011     * @param e the exception catched
012     */
013    public void exceptionThrown(Exception e);
014}