Package org.eclipse.core.commands.common
Class CommandException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.core.commands.common.CommandException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CommandNotMappedException,ExecutionException,NotDefinedException,NotEnabledException,NotHandledException,ParameterValueConversionException,ParameterValuesException,SerializationException
public abstract class CommandException extends java.lang.ExceptionSignals that an exception occured within the command architecture.This class is not intended to be extended by clients.
- Since:
- 3.1
- See Also:
- Serialized Form
- Restriction:
- This class is not intended to be subclassed by clients.
-
-
Constructor Summary
Constructors Constructor Description CommandException(java.lang.String message)Creates a new instance of this class with the specified detail message.CommandException(java.lang.String message, java.lang.Throwable cause)Creates a new instance of this class with the specified detail message and cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablegetCause()Returns the cause of this throwable ornullif the cause is nonexistent or unknown.
-
-
-
Constructor Detail
-
CommandException
public CommandException(java.lang.String message)
Creates a new instance of this class with the specified detail message.- Parameters:
message- the detail message; may benull.
-
CommandException
public CommandException(java.lang.String message, java.lang.Throwable cause)Creates a new instance of this class with the specified detail message and cause.- Parameters:
message- the detail message; may benull.cause- the cause; may benull.
-
-