public void write()

in chill-java/src/main/java/com/twitter/chill/java/UnmodifiableJavaCollectionSerializer.java [68:79]


  public void write(Kryo kryo, Output output, T object) {
    try {
      T u = (T) innerField.get(object);
      kryo.writeClassAndObject(output, u);
    } catch (RuntimeException e) {
      // Don't eat and wrap RuntimeExceptions because the ObjectBuffer.write...
      // handles SerializationException specifically (resizing the buffer)...
      throw e;
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
  }