Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Eclipse Platform
Release 3.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

org.eclipse.ui
Class WorkbenchException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.eclipse.core.runtime.CoreException
              extended byorg.eclipse.ui.WorkbenchException

All Implemented Interfaces:
Serializable

Direct Known Subclasses:
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


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.
 
Methods inherited from class org.eclipse.core.runtime.CoreException
getStatus, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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


 

Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Eclipse Platform
Release 3.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.