org.opensha.commons.util.bugReports
Class DefaultExceptoinHandler

java.lang.Object
  extended by org.opensha.commons.util.bugReports.DefaultExceptoinHandler
All Implemented Interfaces:
Thread.UncaughtExceptionHandler

public class DefaultExceptoinHandler
extends Object
implements Thread.UncaughtExceptionHandler


Constructor Summary
DefaultExceptoinHandler(String appName, ApplicationVersion appVersion, Object app, Component parent)
           
 
Method Summary
 Object getApp()
           
 String getAppName()
           
 ApplicationVersion getAppVersion()
           
 Component getParent()
           
 void setApp(Object app)
           
 void setAppName(String appName)
           
 void setAppVersion(ApplicationVersion appVersion)
           
 void setParent(Component parent)
           
 void uncaughtException(Thread t, Throwable e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExceptoinHandler

public DefaultExceptoinHandler(String appName,
                               ApplicationVersion appVersion,
                               Object app,
                               Component parent)
Method Detail

uncaughtException

public void uncaughtException(Thread t,
                              Throwable e)
Specified by:
uncaughtException in interface Thread.UncaughtExceptionHandler

getAppName

public String getAppName()

setAppName

public void setAppName(String appName)

getAppVersion

public ApplicationVersion getAppVersion()

setAppVersion

public void setAppVersion(ApplicationVersion appVersion)

getApp

public Object getApp()

setApp

public void setApp(Object app)

getParent

public Component getParent()

setParent

public void setParent(Component parent)