void function ( Throwable arg0 ) { synchronized ( this ) { if ( completedOrCancelled ( ) ) return ; this . state = COMPLETED ; this . exception = arg0 ; notifyAll ( ) ; } done ( ) ; }
marks the task as failed . concode_field_sep int COMPLETED concode_elem_sep V result concode_elem_sep Throwable exception concode_elem_sep int WAITING concode_elem_sep int state concode_elem_sep long serialVersionUID concode_elem_sep int CANCELLED concode_field_sep boolean cancel concode_elem_sep boolean isCancelled concode_elem_sep void set concode_elem_sep boolean completedOrCancelled concode_elem_sep V get concode_elem_sep V get concode_elem_sep V getResult concode_elem_sep String toString concode_elem_sep void setCompleted concode_elem_sep void setException concode_elem_sep boolean isDone concode_elem_sep void done concode_elem_sep void waitFor concode_elem_sep void waitFor