271272273274275276277
final StringBuilder bldr = new StringBuilder(); bldr.append(failureCount); bldr.append(" semantic warning"); if (failureCount > 1) bldr.append("s"); bldr.append(" for document"); throw new SemanticFailure(null, bldr.toString(), failures); }