The plaintiff, a building contractor, brings this action against the owner of a brick building located on Seventh Street, in Springfield, to recover a balance alleged to be due to the plaintiff on account of a written contract between the parties under which the plaintiff has added a second story to the defendant’s building.
The trial judge has refused to find for the plaintiff on
The defendant contends that the plaintiff should not recover for any work covered by the contract or for the greater part of the extra work, because certain of the specifications of the contract and certain parts of the building as actually constructed were inconsistent with the requirements of the building ordinances of the city of Springfield. It is argued that both the contract itself and the manner of performing it were illegal. Eastern Expanded Metal Co. v. Webb Granite & Construction Co. 195 Mass. 356. The matters argued as violations of the ordinance relate to the thickness of certain walls and to the composition of the mortar used.
It may be doubted whether the specifications of the contract itself are really at variance with the ordinance, and it has been held that a variation of this kind appearing in the actual performance of the work and not required by any illegal term of the contract, does not necessarily bar recovery. Fox v. Rogers, 171 Mass. 546. But we do not stop to discuss these matters, for we are of opinion that these contentions are not now open to the defendant. Illegality was not pleaded as a defence. In O’Brien v. Shea, 208 Mass. 528, at page 535, it was said that in actions at law "like the one at bar . . . the court will recognize no absolute duty to interfere and of its own mere motion to sustain a defense not set up by the party, and generally will not so interfere, unless, first, the plaintiff’s declaration shows that he relies upon an illegal agreement or violation of law, or, secondly, unless he has been obliged to show his own guilt in fully proving his case.” And in Nowell v. Equitable Trust Co. 249 Mass. 585, at page 595, this court said "Illegality of a contract, unless of such nature as to
The evidence fails to disclose such inherently wrongful conduct as to require the court to intervene for the preservation of public policy or morality or the maintenance of its own dignity. If a party who has received the benefit of a well constructed building erected substantially in accordance with his contract wishes to rely in defence upon variations from some of the manifold specifications of a modern building ordinance, it is reasonable that he should apprise the plaintiff in advance of trial of the issues which he intends to raise by properly pleading his defences. Whittingslow v. Thomas, 237 Mass. 103. Bursaw v. Pederson, 284 Mass. 471, 479. A case like this is to be distinguished from Reuter v. Ballard, 267 Mass. 557, and other cases cited by the defendant where the illegality suggested by the evidence was such that it would be clearly contrary to public policy to enforce a contract tainted thereby.
The report shows that there was evidence from which the
Order dismissing report affirmed.