protected void reportFailedPredicate(Parser recognizer,
										 FailedPredicateException e)
	{
		String ruleName = recognizer.getRuleNames()[recognizer._ctx.getRuleIndex()];
		String msg = "rule "+ruleName+" "+e.getMessage();
		recognizer.notifyErrorListeners(e.getOffendingToken(), msg, e);
	}
This is called by {@link #reportError} when the exception is a
{@link FailedPredicateException}.

@see #reportError

@param recognizer the parser instance
@param e the recognition exception
runtime/Java/src/org/antlr/v4/runtime/DefaultErrorStrategy.java