[server][testArmZabbixAPI] Replace the exception callback mechanism with that with virtual method.