Exceptions implemented in parser