Better exceptions in tokenizer.