If a man exchanges one thing for another in any other place or under any other arrangement, trusting to the honesty of the other party to the exchange, he must do so on the understanding that when sales are made other than under the rules now stated the law does not permit him to sue.