A Japanese man who sued Coca-Cola has had his lawsuit thrown out.