Class CommandCanceledException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CommandCanceledException
    extends java.lang.RuntimeException
    Exception reported to the current GWT.UncaughtExceptionHandler when a deferred Command is canceled as a result of a slow script warning.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Command getCommand()
      Returns the Command which was canceled by the user as a result of a slow script warning.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • CommandCanceledException

        public CommandCanceledException​(Command command)
    • Method Detail

      • getCommand

        public Command getCommand()
        Returns the Command which was canceled by the user as a result of a slow script warning.
        Returns:
        the Command which was canceled by the user as a result of a slow script warning