package com.onaro.sanscreen.client.error; import com.onaro.util.jfc.AWTExceptionHandler; /** * Redirects exception that were caught by the AWT event loop (this are unchecked * exception) to the central error handler. */ public class AWTExceptionRedirect extends AWTExceptionHandler{ /** * When an excpetion is caught by the AWT event loop, redirect it to the centra * error handler. * @param t the error */ public void handle(Throwable t) { CentralErrorHandler.handle("Uncaught exception", t); //$NON-NLS-1$ } }