for (int i = 0; i < template.length(); i++) { char current = template.charAt(i); if (entry.isParse() && '{' == current) { if (counter > entry.getLimit()) { throw new ServiceRuntimeException("Monitor message contains more parameters than are supplied by the method interface: " + template);