Majority
Headnote
1. Pleading—Demurrer—Judgment on Pleadings.Granting' that the affirmative matter pleaded by the amended answer was not sufficient in law for the purposes of a defense, still the defendants may assail the judgment rendered upon the pleadings, if no cause of action was stated in the complaint, since the judgment, of course, depends upon the admission of the statement of a cause of action. The appellants raise the point that the complaint is insufficient, and correctly, as we view the case. The action is brought upon an undertaking running to the clerk of the county of New York, given to procure the discharge of a mechanic’s lien filed by the plaintiff’s assignor; the undertaking being annexed to and made a part of the complaint. The obligation thus being one which the plaintiff or his assignor could not enforce without some statutory authority, because running to some other person, the cause of action depends upon compliance with the statute which permits an action, by the individual interested, upon a-bond or undertaking running to a public officer (section 814, Code Civ. Proc.; Ringle v. W. T. Wks., 16 Misc. Rep. 167 , 38 N. Y. Supp. 875 ; In re John P. Kane Co. [Sup.] 66 N. Y. Supp. 684 , affirmed 52 App. Div. 630 , 65 N. Y. Supp. 1136 ); and therefore the obtaining of leave to sue—the condition imposed by section 814 of the Code—was an essential fact which the plaintiff was bound to allege for the purposes of a statement of a cause of action ( 18 Abb. N. C. 149 , note).
The averment of the complaint that the undertaking ran to the plaintiff’s assignor is rendered nugatory by the annexation of the instrument, which runs to the county clerk, and the form of the instrument controls over the pleader’s conclusion as to its legal effect. Bogardus v. Ins. Co., 101 N. Y. 328 , 4 N. E. 522 .
In the absence of an allegation that leave to sue had been obtained, the complaint afforded no basis for judgment upon the pleadings, and the judgment must therefore be reversed, with costs. All concur.
Cases cited
- Bogardus v. New York Life Insurance 101 N. Y. 328 p. 34