Majority
Headnote
When a demurrer is interposed to a complaint containing two causes of action, of a nature that admits of their being united, but of one of which the court has no jurisdiction, it will be overruled if it is to the whole complaint, and assigns no cause of demurrer except that several causes of action are improperly united. In such a case, the demurrer should be limited to the cause of action of which the court has no jurisdiction.Demdbbeb to complaint. The complaint set forth that the plaintiff had sold and delivered to the defendant certain building materials for the price of $1,500, on which there was still-due to him the sum of $1,059.97, for which amount he prayed judgment. The complaint also alleged, that for the amount of his claim the plaintiff had’ duly acquired a lien on certain dwelling-houses belonging to the defendant in the city of Brooklyn, and prayed that the lien might be enforced for a sale of the defendant’s interest in the said real estate, or of so much-thereof as would be sufficient to satisfy the debt. The defendant demurred' to' the whole complaint, but assigned as- the only ground of demurrer; that several causes of action had been improperly united.
Held, that had the demurrer been limited, to those parts of the complaint which related to the lien, and had assigned as