Package jmri.util.swing
Class ExceptionDisplayFrame
java.lang.Object
jmri.util.swing.ExceptionDisplayFrame
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
Modifier and TypeMethodDescriptionstatic voiddisplayExceptionDisplayFrame(Component owner, Exception ex) Display an ExceptionDisplayFrame.static voiddisplayExceptionDisplayFrame(Component owner, ExceptionContext context) Display an ExceptionDisplayFrame.
-
Method Details
-
displayExceptionDisplayFrame
public static void displayExceptionDisplayFrame(@CheckForNull 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 Component owner, @Nonnull Exception ex) Display an ExceptionDisplayFrame.- Parameters:
ex- the Exception to display details for.owner- the associated Component, can be null.
-