XD-385: Better error cause propagation when dealing with Streams

Added dedicated exception hierarchy