public final class ErrorTermParser extends java.lang.Object implements TermParser
TermParser which doesn't really parse anything, but always throws a CarrotException.
It's meant to be used as a "fail" delegate.
| Constructor and Description |
|---|
ErrorTermParser() |
| Modifier and Type | Method and Description |
|---|---|
Term |
parse(Tokenizer tokenizer)
|
public Term parse(Tokenizer tokenizer) throws CarrotException
TermParserparse in interface TermParsertokenizer - A Tokenizer.TermCarrotException - in the syntax of the term was invalid.