uk.ac.essex.common.exception
Class SwingExceptionHandler

java.lang.Object
  extended by 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


Constructor Summary
SwingExceptionHandler()
           
 
Method Summary
static SwingExceptionHandler getInstance()
           
 void handleException(java.lang.Exception e)
           
 void handleException(java.lang.Exception e, java.lang.String msg)
           
 void handleThrowable(java.lang.Throwable t)
           
 void setFrame(java.awt.Frame frame)
           
 void setLanguageService(LanguageService languageService)
           
 void setMessageHandler(ErrorMessageHandler messageHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingExceptionHandler

public SwingExceptionHandler()
Method Detail

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