Class AbortExecutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.emf.common.command.AbortExecutionException
All Implemented Interfaces:
Serializable

public class AbortExecutionException extends RuntimeException
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 Details

    • AbortExecutionException

      public AbortExecutionException()
      Constructs an new instance.
    • AbortExecutionException

      public AbortExecutionException(String message, Throwable cause)
      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

      public AbortExecutionException(String message)
      Constructs a new instance with the given message.
      Parameters:
      message - a description of the reason for aborting.
    • AbortExecutionException

      public AbortExecutionException(Throwable cause)
      Constructs a new instance with the given message and cause.
      Parameters:
      cause - an indication of why execution was aborted.