private void writeObject(ObjectOutputStream out) throws IOException { throwIfPresent(serializationException); out.defaultWriteObject(); }
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); throwIfPresent(deserializationException); }
@Override public String decode(InputStream inStream) throws CoderException, IOException { throwIfPresent(decodingException); return StringUtf8Coder.of().decode(inStream); }
@Override public void encode(String value, OutputStream outStream) throws CoderException, IOException { throwIfPresent(encodingException); StringUtf8Coder.of().encode(value, outStream); }