code: public void setObject(int index, Object value)
    {
      try (OutputStream os = openOutputStream(index)) {
        try (OutH3 out = serializer().out(os)) {
          out.writeObject(value);
        }
      } catch (IOException e) {
        throw new RuntimeException(e);
      }
    }
docs: /*
  public void setObject(int index, Object value)
  {
  try (OutputStream os = openOutputStream(index)) {
  try (OutH3 out = getSerializerFactory().out(os)) {
  Hessian2Output hOut = new Hessian2Output(os);
  
  hOut.setSerializerFactory(getSerializerFactory());
  
  hOut.writeObject(value);
  
  hOut.close();
  } catch (IOException e) {
  throw new RuntimeException(e);
  }
  }