uk.ac.essex.common.exception
Class SwingExceptionHandler
java.lang.Object
uk.ac.essex.common.exception.SwingExceptionHandler
- All Implemented Interfaces:
- ExceptionHandler
public class SwingExceptionHandler
- extends java.lang.Object
- implements ExceptionHandler
You should have received a copy of GNU public license with this code.
If not please visit this site
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwingExceptionHandler
public SwingExceptionHandler()
getInstance
public static SwingExceptionHandler getInstance()
setFrame
public void setFrame(java.awt.Frame frame)
setLanguageService
public void setLanguageService(LanguageService languageService)
setMessageHandler
public void setMessageHandler(ErrorMessageHandler messageHandler)
handleException
public void handleException(java.lang.Exception e,
java.lang.String msg)
handleException
public void handleException(java.lang.Exception e)
- Specified by:
handleException
in interface ExceptionHandler
handleThrowable
public void handleThrowable(java.lang.Throwable t)
- Specified by:
handleThrowable
in interface ExceptionHandler