Package com.reportmill.panels
Class ExceptionReporter
- java.lang.Object
-
- com.reportmill.panels.ExceptionReporter
-
- All Implemented Interfaces:
RibsEventQueue.RibsExceptionHandler
public class ExceptionReporter extends java.lang.Object implements RibsEventQueue.RibsExceptionHandler
This class provides a Swing GUI panel to inform users that an exception was hit and send info back to ReportMill.
-
-
Constructor Summary
Constructors Constructor Description ExceptionReporter()
Creates a new exception reporter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getURL()
Returns the URL.void
handleException(java.lang.Throwable t)
Creates a new exception reporter for given throwable.void
respondUI(java.lang.Object anObj)
Responds to clicks on GUI panel Submit and Cancel buttons.void
setURL(java.lang.String aURL)
Sets the URL.void
submitException()
Actually sends the exception to RM via Verio web mail.
-
-
-
Method Detail
-
getURL
public java.lang.String getURL()
Returns the URL.
-
setURL
public void setURL(java.lang.String aURL)
Sets the URL.
-
handleException
public void handleException(java.lang.Throwable t)
Creates a new exception reporter for given throwable.- Specified by:
handleException
in interfaceRibsEventQueue.RibsExceptionHandler
-
respondUI
public void respondUI(java.lang.Object anObj)
Responds to clicks on GUI panel Submit and Cancel buttons.
-
submitException
public void submitException()
Actually sends the exception to RM via Verio web mail.
-
-