private void handleError(Record record, Errors errorTemplate, String errorMessage) throws StageException {
    """
	Handles an error that occurred when processing a record. The error can either be logged or thrown in an exception.
	
	@param record The record which was being processed
	@param errorTemplate The error template to be thrown if required
	@param errorMessage The error specific message
	@throws StageException Exception thrown if missingFieldAction indicates to stop the pipeline or send the record
	to error. If missingFieldAction value is unknown an exception is also thrown
    """
    handleError(record, errorTemplate, new String[] {errorMessage});
  }
private void handleError(Record record, Errors errorTemplate, String errorMessage) throws StageException {
    handleError(record, errorTemplate, new String[] {errorMessage});
  }
private void handleError ( Record record , Errors errorTemplate , String errorMessage ) throws StageException { handleError ( record , errorTemplate , new String [ ] { errorMessage } ) ; }
Handles an error that occurred when processing a record. The error can either be logged or thrown in an exception.

@param record The record which was being processed
@param errorTemplate The error template to be thrown if required
@param errorMessage The error specific message
@throws StageException Exception thrown if missingFieldAction indicates to stop the pipeline or send the record
to error. If missingFieldAction value is unknown an exception is also thrown
Handles an error that occurred when processing a record . The error can either be logged or thrown in an exception .