void (@NotNull MessageFormatErrorType errorType, int from, int until) { if (!hasRuntimeError) { errors.add(new MessageFormatError(errorType, from, until)); } if (errorType.severity == ErrorSeverity.RUNTIME_EXCEPTION) { hasRuntimeError = true; } }