Package org.eclipse.emf.common.command
Class AbortExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.emf.common.command.AbortExecutionException
- All Implemented Interfaces:
Serializable
An exception thrown when a command's
execution is to be silently aborted.
This is a signal to the command stack to behave as if canExecute returned false.
Only a command that has not changed the state of the model should be aborted in this way.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an new instance.AbortExecutionException(String message) Constructs a new instance with the given message.AbortExecutionException(String message, Throwable cause) Constructs a new instance with the given message and cause.AbortExecutionException(Throwable cause) Constructs a new instance with the given 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
-
AbortExecutionException
public AbortExecutionException()Constructs an new instance. -
AbortExecutionException
Constructs a new instance with the given message and cause.- Parameters:
message- a description of the reason for aborting.cause- an indication of why execution was aborted.
-
AbortExecutionException
Constructs a new instance with the given message.- Parameters:
message- a description of the reason for aborting.
-
AbortExecutionException
Constructs a new instance with the given message and cause.- Parameters:
cause- an indication of why execution was aborted.
-