Пример #1
0
 /** Has it been stopped by user's cancel? */
 public boolean isAborted() {
   return runnable.isAborted();
 }
Пример #2
0
 /**
  * Get reason why command has not finished succesfully. For user cancels return an exception
  * too.
  */
 public Throwable getError() {
   return runnable.getFailure();
 }