void function ( Throwable arg0 ) { if ( status != Status . RUNNING ) throw new IllegalStateException ( "srini_string" + Status . FAILED + "srini_string" + status ) ; status = Status . FAILED ; markFinishedTime ( ) ; this . throwable = arg0 ; }
method markfailed sets the status to failed . concode_field_sep Throwable throwable concode_elem_sep Status status concode_elem_sep long finishedTime concode_elem_sep long startTime concode_field_sep void markRunning concode_elem_sep boolean isStopped concode_elem_sep boolean isFailed concode_elem_sep void markStartTime concode_elem_sep boolean isFinished concode_elem_sep boolean isPending concode_elem_sep String getStatsString concode_elem_sep void markStopped concode_elem_sep boolean isSuccessful concode_elem_sep void markFinishedTime concode_elem_sep long getDuration concode_elem_sep boolean isRunning concode_elem_sep void markSuccessful concode_elem_sep String toString