code: public Token recoverInline(Parser recognizer) throws RecognitionException {
          throw new RecognitionException(recognizer, recognizer.getInputStream(), recognizer.getContext());
      }
docs: throws RecognitionException to handle in parser's catch block