rengolin/HPCC-Platform — comment on commit 14f5d88e60662491fb82478e416ae3543c947a3f
File: system/jlib/jstream.cpp line 223
By ghalliday:

This should probably be a more informative exception.
I think the ideas is that we use throwUnexpected() for logic errors in the program, rather than user unexpected behaviour.