public boolean isCanceled() { return handler.isCanceled(); }
public void checkCancel() { if (handler.isCanceled()) { handler.setMessage("Cancelling"); throw new CanceledException(); } }
public boolean isCanceled() { return handler.isCanceled(); }
public void checkCancel() { if (handler.isCanceled()) { handler.setMessage("Cancelling"); throw new CanceledException(); } }