Eclipse Platform
Release 3.1

org.eclipse.ui.contexts
Class ContextException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.eclipse.ui.contexts.ContextException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NotDefinedException

Deprecated. Please use the "org.eclipse.core.commands" plug-in instead.

public abstract class ContextException
extends Exception

Signals that an exception occured within the context architecture.

This class is not intended to be extended by clients.

Since:
3.0
See Also:
CommandException, Serialized Form

Constructor Summary
ContextException(String message)
          Deprecated. Creates a new instance of this class with the specified detail message.
ContextException(String message, Throwable cause)
          Deprecated. Creates a new instance of this class with the specified detail message and cause.
 
Method Summary
 Throwable getCause()
          Deprecated. Returns the cause of this throwable or null if the cause is nonexistent or unknown.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextException

public ContextException(String message)
Deprecated. 
Creates a new instance of this class with the specified detail message.

Parameters:
message - the detail message.

ContextException

public ContextException(String message,
                        Throwable cause)
Deprecated. 
Creates a new instance of this class with the specified detail message and cause.

Parameters:
message - the detail message.
cause - the cause.
Method Detail

getCause

public Throwable getCause()
Deprecated. 
Returns the cause of this throwable or null if the cause is nonexistent or unknown.

Returns:
the cause or null
Since:
3.1

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

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