Package jmri.util.swing
Class UnexpectedExceptionContext
- java.lang.Object
-
- jmri.util.swing.ExceptionContext
-
- jmri.util.swing.UnexpectedExceptionContext
-
public class UnexpectedExceptionContext extends ExceptionContext
Extends ExceptionContext class for exceptions that are not expected, and therefore have no suggestions for the user.
-
-
Field Summary
-
Fields inherited from class jmri.util.swing.ExceptionContext
exception, hint, operation, prefaceString
-
-
Constructor Summary
Constructors Constructor Description UnexpectedExceptionContext(java.lang.Throwable ex, java.lang.String operation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTitle()
Get a String to use as the Title for this Context.-
Methods inherited from class jmri.util.swing.ExceptionContext
getClipboardString, getException, getHint, getOperation, getPreface, getStackTraceAsString, getStackTraceString, getSummary
-
-
-
-
Constructor Detail
-
UnexpectedExceptionContext
public UnexpectedExceptionContext(@Nonnull java.lang.Throwable ex, java.lang.String operation)
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
Description copied from class:ExceptionContext
Get a String to use as the Title for this Context.- Overrides:
getTitle
in classExceptionContext
- Returns:
- Localised Exception message, truncated to 80 chars.
-
-