Venezuela President Hugo Chavez has threatened to detain U.S. officials if they are caught collecting sensitive information about Venezuela 's military .