如果用 Future 对象的 get() 方法来获取一个已经取消的任务,则 get() 方法会抛出一个 CancellationException 异常。
Future
get()
CancellationException