Exceptions for parser and generator.