#772 enabled serialization for ExceptionTrap