@SuppressWarnings("deprecation") public void stop(){
  if (currentThread == null) {
    log.error("Stop with currentThread null!");
    return;
  }
  try {
    currentThread.stop();
  }
 catch (  java.lang.ThreadDeath e) {
    log.error(e.toString());
  }
  currentThread=null;
  done();
}

@ SuppressWarnings ( "deprecation" ) public void stop ( ) { if ( currentThread == null ) { log . error ( "Stop with currentThread null!" ) ; return ; } try { currentThread . stop ( ) ; } catch ( java . lang . ThreadDeath e ) { log . error ( e . toString ( ) ) ; } currentThread = null ; done ( ) ; }
stop the thread immediately . overrides superclass method to handle local accounting .
