public BatchInterrupted(Throwable cause,int totalCount,int successCount,int errorCount){
  this(getReasonFromException(cause),totalCount,successCount,errorCount);
  if (cause instanceof ServiceException) {
    ServiceException se=(ServiceException)cause;
    setContent(se.getResponseBody());
    setContentType(se.getResponseContentType());
  }
}

public BatchInterrupted ( Throwable cause , int totalCount , int successCount , int errorCount ) { this ( getReasonFromException ( cause ) , totalCount , successCount , errorCount ) ; if ( cause instanceof ServiceException ) { ServiceException se = ( ServiceException ) cause ; setContent ( se . getResponseBody ( ) ) ; setContentType ( se . getResponseContentType ( ) ) ; } }
creates and initializes a batchinterrupted object .
