Fixed the linking of the lexer exception