Class ExceptionReporter
- java.lang.Object
-
- com.inductiveautomation.snap.ui.UIOwner<SwingEvent,javax.swing.JComponent>
-
- com.inductiveautomation.snap.swing.SwingOwner
-
- com.inductiveautomation.snap.swing.ExceptionReporter
-
- All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler
public class ExceptionReporter extends SwingOwner implements java.lang.Thread.UncaughtExceptionHandler
This class provides a Swing UI panel to inform users that an exception was hit and send info back to ReportMill.
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.snap.ui.UIOwner
DragDrop, DragEnter, DragEvents, DragExit, DragOver, KeyEvents, KeyFinished, KeyPressed, KeyReleased, KeyTyped, MouseClicked, MouseDragged, MouseEntered, MouseEvents, MouseExited, MouseFinished, MouseMoved, MousePressed, MouseReleased
-
-
Constructor Summary
Constructors Constructor Description ExceptionReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getURL()
Returns the URL.void
sendException()
Send exception via cgiemail at reportmill.com.void
setURL(java.lang.String aURL)
Sets the URL.void
uncaughtException(java.lang.Thread t, java.lang.Throwable aThrowable)
Creates a new exception reporter for given throwable.-
Methods inherited from class com.inductiveautomation.snap.swing.SwingOwner
addKeyActionEvent, createTimer, createUI, createUI, createWindow, getNode, getNode, getNodeHelper, getTimer, getTimer, getUI, getWindow, isEventThread, isWindowVisible, requestFocus, requestFocusImpl, runLater, sendEvent, setWindowVisible
-
Methods inherited from class com.inductiveautomation.snap.ui.UIOwner
addNodeBinding, disableEvents, enableEvents, getBindingModelValue, getBindingNodeValue, getConversionMap, getConversionMapKey, getConversionMaps, getConversionMapValue, getFirstFocus, getModelValue, getNode, getNodeAction, getNodeBoolValue, getNodeFloatValue, getNodeIntValue, getNodeItemDisplayKey, getNodeItems, getNodeSelectedIndex, getNodeSelectedItem, getNodeStringValue, getNodeText, getNodeValue, getUI, getUIHpr, initUI, initUI, isNodeEnabled, isNodeValueAdjusting, isSendEventDisabled, isUISet, processResetUI, processRespondUI, resetLater, resetNodeBindings, resetUI, respondUI, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
-
-
-
-
Method Detail
-
getURL
public java.lang.String getURL()
Returns the URL.
-
setURL
public void setURL(java.lang.String aURL)
Sets the URL.
-
uncaughtException
public void uncaughtException(java.lang.Thread t, java.lang.Throwable aThrowable)
Creates a new exception reporter for given throwable.- Specified by:
uncaughtException
in interfacejava.lang.Thread.UncaughtExceptionHandler
-
sendException
public void sendException()
Send exception via cgiemail at reportmill.com.
-
-