In that case I don't think we even need a helper method. I guess it is sufficiently clear if the user gets a HDFS exception (so we don't actually need to come up with our own).