Class BrokenWriter

    • Constructor Detail

      • BrokenWriter

        public BrokenWriter​(IOException exception)
        Creates a new writer that always throws the given exception.
        Parameters:
        exception - the exception to be thrown
      • BrokenWriter

        public BrokenWriter()
        Creates a new writer that always throws an IOException