wholefile-transformer-lib/src/main/java/com/streamsets/pipeline/stage/processor/transformer/WholeFileTransformerProcessor.java
private void validateRecord(Record record) throws StageException {
    try {
      FileRefUtil.validateWholeFileRecord(record);
    } catch (IllegalArgumentException e) {
      throw new TransformerStageCheckedException(Errors.CONVERT_01, e.toString(), e);
    }
  }
private void validateRecord(Record record) throws StageException {
    try {
      FileRefUtil.validateWholeFileRecord(record);
    } catch (IllegalArgumentException e) {
      throw new TransformerStageCheckedException(Errors.CONVERT_01, e.toString(), e);
    }
  }
Validate the record is a whole file record
@param record the {@link com.streamsets.pipeline.api.Record} whole file record