cancel

public synchronized void cancel()

Attempts to cancel this task.

Throws

if task was not scheduled yet