Eclipse Platform
Release 3.0

org.eclipse.ui.commands
Class CommandException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.eclipse.ui.commands.CommandException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ExecutionException, NotDefinedException, NotHandledException

public abstract class CommandException
extends Exception

Signals that an exception occured within the command architecture.

This class is not intended to be extended by clients.

Since:
3.0
See Also:
Serialized Form

Constructor Summary
CommandException(String message)
          Creates a new instance of this class with the specified detail message.
CommandException(String message, Throwable cause)
          Creates a new instance of this class with the specified detail message and cause.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

CommandException

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

Parameters:
message - the detail message.

CommandException

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

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

Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

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