|
 |
|
|
org.eclipse.ui
Class WorkbenchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.core.runtime.CoreException
org.eclipse.ui.WorkbenchException
-
All Implemented Interfaces:
-
Serializable
-
Direct Known Subclasses:
-
MultiPartInitException,
PartInitException
-
public class WorkbenchException
- extends
CoreException
A checked exception indicating a recoverable error occured internal to the
workbench. The status provides a further description of the problem.
This exception class is not intended to be subclassed by clients.
-
See Also:
-
Serialized Form
-
Restriction:
- This class is not intended to be subclassed by clients.
WorkbenchException
public WorkbenchException(
String message)
- Creates a new exception with the given message.
-
Parameters:
-
message - the message
WorkbenchException
public WorkbenchException(
String message,
Throwable nestedException)
- Creates a new exception with the given message.
-
Parameters:
-
message - the message -
nestedException - an exception to be wrapped by this WorkbenchException
WorkbenchException
public WorkbenchException(
IStatus status)
- 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
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|
|