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:
Serializable
- Direct Known Subclasses:
CommandNotMappedException
,ExecutionException
,NotDefinedException
,NotEnabledException
,NotHandledException
,ParameterValueConversionException
,ParameterValuesException
,SerializationException
Signals that an exception occured within the command architecture.
This class is not intended to be extended by clients.
- Since:
- 3.1
- See Also:
- Restriction:
- This class is not intended to be subclassed by clients.
-
Constructor Summary
ConstructorDescriptionCommandException
(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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandException
Creates a new instance of this class with the specified detail message.- Parameters:
message
- the detail message; may benull
.
-
CommandException
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
.
-