[FEATURE] Adding a _throwIf function for stream modules.

This should reduce the number of false positives in Coverity.