allow retries when handler throws SerializationException

fixes #2384
why? it only needs to be public if people need to catch it, which is not the case here. from the perspective of the user it is a `SerializationException` the same as before.