Package org.eclipse.ui
Class PartInitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.core.runtime.CoreException
org.eclipse.ui.WorkbenchException
org.eclipse.ui.PartInitException
- All Implemented Interfaces:
Serializable
A checked exception indicating a workbench part cannot be initialized
correctly. The message text provides a further description of the problem.
This exception class is not intended to be subclassed by clients.
- See Also:
- Restriction:
- This class is not intended to be subclassed by clients.
-
Constructor Summary
ConstructorDescriptionPartInitException
(String message) Creates a new exception with the given message.PartInitException
(String message, Throwable nestedException) Creates a new exception with the given message.PartInitException
(IStatus status) Creates a new exception with the given status object. -
Method Summary
Methods inherited from class org.eclipse.core.runtime.CoreException
getCause, getStatus, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
PartInitException
Creates a new exception with the given message.- Parameters:
message
- the message
-
PartInitException
Creates a new exception with the given message.- Parameters:
message
- the messagenestedException
- a exception to be wrapped by this PartInitException
-
PartInitException
Creates a new exception with the given status object. The message of the given status is used as the exception message.- Parameters:
status
- the status object to be associated with this exception
-