public RuleContext getCtx() {
		return ctx;
	}
Gets the {@link RuleContext} at the time this exception was thrown.

<p>If the context is not available, this method returns {@code null}.</p>

@return The {@link RuleContext} at the time this exception was thrown.
If the context is not available, this method returns {@code null}.
runtime/Java/src/org/antlr/v4/runtime/RecognitionException.java