4647484950515253545556
mOutput.write(block); } } catch (PipeClosedException e) { pipe.closeForReading(); } catch (PipeIOException e) { mOutputError = e; pipe.closeForReading();
5152535455565758596061
pipe.closeForReading(); } catch (PipeIOException e) { mOutputError = e; pipe.closeForReading(); mOutput.closeForWritingDueToError(); } catch (DataError e) { mOutputError = e;
6263646566676869707172
mOutput.closeForWritingDueToError(); } catch (PipeTerminatedException e) { mOutputError = e; pipe.closeForReading(); mOutput.closeForWriting(); } } }); writeThread.start();