Looks like SerializerProvider instance does not keep track of underlying JsonGenerator, unlike DeserializationContext (which does hold on to reference to JsonParser).
But it should, if for nothing else to allow constructing exceptions that can refer to the underlying generator.