Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui
Class WorkbenchException

java.lang.Object
  extended by 

java.lang.Throwable
      extended by 

java.lang.Exception
          extended by 

org.eclipse.core.runtime.CoreException
              extended by 
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.

Constructor Summary
WorkbenchException ( IStatus status)
          Creates a new exception with the given status object.
WorkbenchException ( String message)
          Creates a new exception with the given message.
WorkbenchException ( String message, Throwable nestedException)
          Creates a new exception with the given message.
 
Method Summary
 
Methods inherited from class org.eclipse.core.runtime. CoreException
getCause, getStatus, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang. Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire