6465666768697071727374
public void abort() throws IOException { if (abortable && ! abortorStack.isEmpty()) { Abortable abortable = abortorStack.pop(); if (abortable != null) abortable.abort(); } } public boolean canAbort() { return abortable && ! abortorStack.isEmpty();