solr-protolib/src/main/java/com/streamsets/pipeline/stage/destination/solr/SolrTarget.java
private void sendOnRecordErrorExceptionToHandler(Record record, Errors error, StageException ex)
      throws StageException {
    errorRecordHandler.onError(new OnRecordErrorException(
        record,
        error,
        record.getHeader().getSourceId(),
        ex.toString(),
        ex
    ));
  }
private void sendOnRecordErrorExceptionToHandler(Record record, Errors error, StageException ex)
      throws StageException {
    errorRecordHandler.onError(new OnRecordErrorException(
        record,
        error,
        record.getHeader().getSourceId(),
        ex.toString(),
        ex
    ));
  }
private void sendOnRecordErrorExceptionToHandler ( Record record , Errors error , StageException ex ) throws StageException { errorRecordHandler . onError ( new OnRecordErrorException ( record , error , record . getHeader ( ) . getSourceId ( ) , ex . toString ( ) , ex ) ) ; }
Send exception ex to errorRecordHandler in order to let the handler process it.

@param record The record which was being processed when the exception was thrown
@param error The error template
@param ex The exception that was thrown
@throws StageException Exception thrown by the errorRecordHandler when handling the exception ex
Send exception ex to errorRecordHandler in order to let the handler process it .