jakesmith/HPCC-Platform — comment on commit 03115d72b7edded90e2e0292236359f2464dfc99
File: dali/base/dafdesc.cpp line 1904
By jakesmith:

>assertex should be (as far as I know is) defined to not return...

It's a conditional throw, compiler therefore presumably notices not all paths lead to an exception and therefore gives and error if the method you're using it in, doesn't return. So with assertex in querySubFiles(), would have had to be:
assertex(!"blah");
return