code: protected void wrappedWrite(int b) throws IOException
  	{
  		checkState();
  		try
  		{
  			out.write(b);
  		}
  		catch(IOException e)
  		{
  			error = true;
  			throw e;
  		}
  	}
docs: Write one byte, setting error flag on exception.
  @param b byte to write
  @throws IOException is rethrown after setting {@link #error}
  if the underlying {@link OutputStream#write(int)}
  threw one.