static void verifyInnerSerializerNotNull(final Serializer inner,
                                             final Serializer wrapper) {
        if (inner == null) {
            throw new NullPointerException("Inner serializer is `null`. " +
                "User code must use constructor `" + wrapper.getClass().getSimpleName() + "(final Serializer<T> inner)` " +
                "instead of the no-arg constructor.");
        }
    }
Construct a {@code SessionWindowedSerde} object for the specified inner class type.
streams/src/main/java/org/apache/kafka/streams/kstream/WindowedSerdes.java