public abstract class AbstractAsyncRunnable extends Object implements IAsyncRunnable
| Constructor and Description |
|---|
AbstractAsyncRunnable(NodeContainer replacedNode) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNode(NodeBase b) |
abstract void |
onCompleted() |
void |
onCompleted(boolean cancelled,
Exception errorException)
This method gets called with your originating DomUI page "active" when the activity has completed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunpublic AbstractAsyncRunnable(@Nonnull NodeContainer replacedNode)
public void onCompleted(boolean cancelled,
@Nullable
Exception errorException)
throws Exception
IAsyncRunnableonCompleted in interface IAsyncRunnablecancelled - When TRUE, the task was cancelled by the user.errorException - When non-null the IAsyncRunnable.run(IProgress) method terminated with an exception, and this is
that exception. You are supposed to do something with it since no other indication
of that error is reported to the user!! So throw this exception on, or display it on your page.ExceptionCopyright © 2017 etc.to. All rights reserved.