public BatchInterrupted(Throwable cause,int totalCount,int successCount,int errorCount){
  this(getReasonFromException(cause),totalCount,successCount,errorCount);
  if (cause instanceof ServiceException) {
    ServiceException se=(ServiceException)cause;
    content=se.getResponseBody();
    contentType=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 ; content = se . getResponseBody ( ) ; contentType = se . getResponseContentType ( ) ; } }
creates and initializes a batchinterrupted object .
