Serialization exception when an exception is generated in another scope

The exception is being caught. That’s not the problem I’m reporting.