@Override
	public void reportAttemptingFullContext(Parser recognizer,
											DFA dfa,
											int startIndex,
											int stopIndex,
											BitSet conflictingAlts,
											ATNConfigSet configs)
	{
		String format = "reportAttemptingFullContext d=%s, input='%s'";
		String decision = getDecisionDescription(recognizer, dfa);
		String text = recognizer.getTokenStream().getText(Interval.of(startIndex, stopIndex));
		String message = String.format(format, decision, text);
		recognizer.notifyErrorListeners(message);
	}
Initializes a new instance of {@link DiagnosticErrorListener}, specifying
whether all ambiguities or only exact ambiguities are reported.

@param exactOnly {@code true} to report only exact ambiguities, otherwise
{@code false} to report all ambiguities.
runtime/Java/src/org/antlr/v4/runtime/DiagnosticErrorListener.java