public static void guaranteePathReader() { IPathReader reader = PathUtilities.getReader(); // todo this works but might not in the cluster if (reader == null) throw new UnsupportedOperationException("Add a Sparky reader"); }