Serialization exception when an exception is generated in another scope

Exception function? What is an exception function?