Package org.apache.uima.pear
Class PearException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.uima.pear.PearException
- All Implemented Interfaces:
Serializable
This is the generic exception used to handle exceptions related to PEAR.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInstantiates a new pear exception.PearException
(String message) Instantiates a new pear exception.PearException
(String message, Throwable cause) Instantiates a new pear exception.PearException
(Throwable cause) Instantiates a new pear exception. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
openErrorDialog
(Throwable e, org.eclipse.swt.widgets.Shell shell) opens an ErrorDialog with details about a given exception.void
openErrorDialog
(org.eclipse.swt.widgets.Shell shell) opens an ErrorDialog with details about this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
PLUGIN_ID
The Constant PLUGIN_ID.- See Also:
-
-
Constructor Details
-
PearException
public PearException()Instantiates a new pear exception. -
PearException
Instantiates a new pear exception.- Parameters:
message
- the message
-
PearException
Instantiates a new pear exception.- Parameters:
cause
- the cause
-
PearException
Instantiates a new pear exception.- Parameters:
message
- the messagecause
- the cause
-
-
Method Details
-
openErrorDialog
public void openErrorDialog(org.eclipse.swt.widgets.Shell shell) opens an ErrorDialog with details about this exception.- Parameters:
shell
- the shell
-
openErrorDialog
opens an ErrorDialog with details about a given exception.- Parameters:
e
- An exceptionshell
- A shell
-