throw exception if iostreams are null - BW