Package jmri.util.swing
Class ExceptionDisplayFrame
- java.lang.Object
-
- jmri.util.swing.ExceptionDisplayFrame
-
public class ExceptionDisplayFrame extends java.lang.Object
Static methods to display an Exception Dialog.The Exception and additional details about what was happening when the exception occurred can be passed in using an ExceptionContext object.
The Dialog has buttons for pasting Exception and System details to Clipboard.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
displayExceptionDisplayFrame(java.awt.Component owner, java.lang.Exception ex)
Display an ExceptionDisplayFrame.static void
displayExceptionDisplayFrame(java.awt.Component owner, ExceptionContext context)
Display an ExceptionDisplayFrame.
-
-
-
Method Detail
-
displayExceptionDisplayFrame
public static void displayExceptionDisplayFrame(@CheckForNull java.awt.Component owner, @Nonnull ExceptionContext context)
Display an ExceptionDisplayFrame.- Parameters:
context
- the ExceptionContext to display details for.owner
- the associated Component, can be null.
-
displayExceptionDisplayFrame
public static void displayExceptionDisplayFrame(@CheckForNull java.awt.Component owner, @Nonnull java.lang.Exception ex)
Display an ExceptionDisplayFrame.- Parameters:
ex
- the Exception to display details for.owner
- the associated Component, can be null.
-
-