Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package excecoes; /** * * @author layca */ import org.antlr.v4.runtime.ParserRuleContext; import org.antlr.v4.runtime.RecognitionException; import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.BaseErrorListener; import org.antlr.v4.runtime.IntStream; import org.antlr.v4.runtime.Parser; import org.antlr.v4.runtime.Recognizer; import org.antlr.v4.runtime.Token; public class InlineRecognitionException extends RecognitionException { public InlineRecognitionException(String message, Recognizer<?, ?> recognizer, IntStream input, ParserRuleContext ctx, Token offendingToken) { super(message, recognizer, input, ctx); this.setOffendingToken(offendingToken); } }