class ParserUtil {

    public static void generateExceptionRequiredField(final String nodeName, final String fieldName) throws APIRestGeneratorException
    {
        final String errorString = "The field name '" + fieldName + "' is required in the node: " + nodeName;

        ParserUtil.LOGGER.error(errorString);
        throw new APIRestGeneratorException(errorString);
    }

    private  ParserUtil();

}