public void readNull()

in serialization/src/main/java/com/twitter/serial/stream/legacy/LegacySerializerInput.java [98:107]


    public void readNull() throws IOException {
        try {
            final Object o = mInput.readObject();
            if (o != null) {
                throw new SerializationException("Expected null object but found " + o);
            }
        } catch (ClassNotFoundException e) {
            throw new SerializationException("Expected null object but found unclassified object", e);
        }
    }