As far as I can tell it should only work for parsers and tree-parsers (http://www.antlr2.org/doc/options.html#defaultErrorHandler).
In the case of a parser it does work, for lexer it creates code that does not compile.

I believe this to be an ANTLR v2 problem, not a problem in ANTLR for Eclipse