I somehow thought the error happened in another thread and could not be caught.
Instead it is forwarded to the caller, and I can catch it in the tests.
I tried to assert that I got a `QueryParsingException`, but with randomized testing I have 3 ways to analyze the error, and only one would allow to match the class name as a substring of the detailed message. So I just expect and catch the error.