Package org.apache.uima.pear.actions
Class PearProjectCustomizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.uima.pear.actions.PearProjectCustomizationException
- All Implemented Interfaces:
Serializable
The Class PearProjectCustomizationException.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInstantiates a new pear project customization exception.PearProjectCustomizationException
(String message) Instantiates a new pear project customization exception.PearProjectCustomizationException
(String message, Throwable cause) Instantiates a new pear project customization exception.Instantiates a new pear project customization exception. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.runtime.IStatus[]
Gets the custom stack trace.static void
openErrorDialog
(Throwable e, org.eclipse.swt.widgets.Shell shell) Opens an Error dialog for a given exception.void
openErrorDialog
(org.eclipse.swt.widgets.Shell shell) Opens an Error dialog for 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
-
PearProjectCustomizationException
public PearProjectCustomizationException()Instantiates a new pear project customization exception. -
PearProjectCustomizationException
Instantiates a new pear project customization exception.- Parameters:
message
- the message
-
PearProjectCustomizationException
Instantiates a new pear project customization exception.- Parameters:
cause
- the cause
-
PearProjectCustomizationException
Instantiates a new pear project customization exception.- Parameters:
message
- the messagecause
- the cause
-
-
Method Details
-
getCustomStackTrace
public org.eclipse.core.runtime.IStatus[] getCustomStackTrace()Gets the custom stack trace.- Returns:
- the custom stack trace
-
openErrorDialog
public void openErrorDialog(org.eclipse.swt.widgets.Shell shell) Opens an Error dialog for this exception.- Parameters:
shell
- the shell
-
openErrorDialog
Opens an Error dialog for a given exception.- Parameters:
e
- A Throwable instanceshell
- Ashell
-