char current = template.charAt(i); if ('{' == current) { if (counter > entry.getLimit()) { throw new ServiceRuntimeException("Monitor message contains more parameters than are supplied by the method interface: " + template); if (counter < entry.getLimit()) { ParameterEntry last = entries[entry.getLimit() - 1]; if (ParameterEntry.Slot.OBJECT == last.getSlot() && last.getObjectValue(Object.class) instanceof Throwable) { bytesWritten = bytesWritten + ObjectWriter.write(last.getObjectValue(Object.class), buffer);
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); if (counter < entry.getLimit()) { ParameterEntry last = entries[entry.getLimit() - 1]; if (ParameterEntry.Slot.OBJECT == last.getSlot() && last.getObjectValue(Object.class) instanceof Throwable) { bytesWritten = bytesWritten + ObjectWriter.write(last.getObjectValue(Object.class), buffer);