2. That which is against public policy is generally unlawful. For example, to restrain an individual from marrying, or from engaging in business, when the restraint is general, in the first case, to all persons, and, in the second, to all trades, business, or occupations. But if the restraint be only partial, as that Titius shall not marry Moevia, or that Caius shall not engage in a particular trade in a particular town or, place, the restraint is not against public policy,, and therefore valid. 1 Story, Eq. Jur. §274. See Newl. Contr. 472.