7273747576777879808182
*/ public void write(final Object actualBlock) throws PipeClosedException { if (mClosedForReading) { throw new PipeClosedException(); } if (mDisplayToConsole) { System.out.println("\nBlock:\n");
8586878889909192
case EXPECT_LIST_END: Assert.assertEquals("Expected list end marker", ControlBlock.LIST_END, block); mBlockType = EXPECT_LIST_BEGIN_OR_CLOSE; break; default: throw new PipeClosedException(); } }
8586878889909192939495
163164165166167168169170171172173
mOutput.write(block); notifyAll(); } else { throw new PipeClosedException(); } } catch (DataCacheException e) { throw new PipeIOException(e);