Raise exception if no stream is found