public void threadFail(String reason){
  try {
    fail(reason);
  }
 catch (  AssertionFailedError t) {
    threadRecordFailure(t);
    throw t;
  }
}

public void threadFail ( String reason ) { try { fail ( reason ) ; } catch ( AssertionFailedError t ) { threadRecordFailure ( t ) ; throw t ; } }
just like fail ( reason ) , but additionally recording ( using threadrecordfailure ) any assertionfailederror thrown , so that the current testcase will fail .
