throw an exception if pipeline does not have a writer and it is called with 'pdal pipeline'