style fix; actually pass the lexer to the exception constructor