oc.ic.ac.uk/lab/secondyear/Antlr/err.html">http://www.doc.ic.ac.uk/lab/secondyear/Antlr/err.html) and call the static convenience method
FormattedTextValidator.getErrorMessage(originalText, recognitionException) if you want to display or log a nice error message.
Uses an instance of SeamTextParser by default, override if you require validation with your customized instance of SeamTextParser.
@author matthew.drees
@author Christian Bauer