set_error_if_cancelled


Description:

public bool set_error_if_cancelled () throws IOError

If the this is cancelled, sets the error to notify that the operation was cancelled.

Parameters:

this

a Cancellable or null

Returns:

true if this was cancelled, false if it was not