Class BrokenOutputStream

    • Constructor Detail

      • BrokenOutputStream

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

        public BrokenOutputStream()
        Creates a new stream that always throws an IOException