001 package org.springframework.richclient.exceptionhandling; 002 003 /** 004 * An exception handler which can be registered (to for example the EDT and all threads). 005 * 006 * @TODO extend Thread.UncaughtExceptionHandler when Spring-richclient is minimum java 1.5 007 * @author Geoffrey De Smet 008 * @since 0.3 009 */ 010 public interface RegisterableExceptionHandler { 011 012 void registerExceptionHandler(); 013 014 void uncaughtException(Thread thread, Throwable throwable); 015 016 }