I think the referee-erred in excluding the evidence offered by the defendants to show the pendency, when this action was commenced, of the action in this court by them on the Bew Jersey judgment against the defendant; and that in that action the defendant *473(the plaintiff in this action) had set up as a counter-claim the identical claim for which he brought this action.
It was not pretended or suggested that such prior action on the New Jersey judgment had been discontinued. And it appears from the referee’s opinion, that he excluded such evidence solely on the ground that the matters so offered to be proved, though insisted on as a defence to this action by the defendants in their answer, if proved, would not be a bar or defence to this action.
To sustain his opinion on this point, the referee cites Fuller a. Read (15 How. Pr., 236), and Wiltsie a. Northam (3 Bosw., 162-168). It is plain that these cases do not apply, and do not sustain the referee’s ruling on this point. They merely hold that there is no rule of law which prevents a person from setting up as a defence or counter-claim, a claim that he has before sued on. Concede this, and it does not follow that a person may bring an action on a claim which he has already set up as a counter-claim. Judge Woodruff, in one of the cases referred to by the referee (Wiltsie a. Northam, 3 Bosw., 162), refers to the evident distinction between the two cases or questions. He says: u and it may be, that the court would not permit a defendant, after having set up such a counter-claim as a-defence, and pending the litigation, to bring a new suit himself, to recover for the same cause of action.”
If A brings an action on a claim against B, and A is after-wards made a defendant by B, in an action in which A can set up his claim as a counter-claim, I cannot see the least reason why he should not have the right to do so; why he should not avail himself of the opportunity offered to him by B, to recover his claim in the second action, if tried first.
The maxim, that no person shall be twice vexed for the same cause, certainly has no application in such case. But the substance and spirit of that maxim is, that.no one shall be unnecessarily sued or vexed; and I think it forbids A from bringing an action against B, on a claim which he has set up as a counterclaim in an action by B against him, and in which action he can recover or be allowed his claim. Whether A would be obliged to set up his claim as a counter-claim, or be barred, &c., is another question; but if he actually sets it up, I think he should be held to be barred from bringing an action against *474B on the claim, during the pendency of the action in which he has set it up.
In McAllister a. Reab (4 Wend., 483, 493), Justice Marcy says: “ A second litigation on the matter should not be tolerated, where a fair opportunity can be afforded by the first, to do final and complete justice between the parties.”
I think, too, that the referee should have held, that the Mew Jersey judgment estopped the plaintiff from bringing this action.
The record of that judgment shows, I think, that the trial of the action in which the judgment was recovered, involved the construction of the contract between the parties for the building of the vessel, and I do not see how the plaintiffs in that action (the defendants in this) could have recovered the judgment unless the Mew Jersey court held that the construction of the contract, claimed by the defendants in this action, was correct. The theory of the complaint in that action was, that Collyer by the contract was bound to furnish all the materials, and build, furnish, and launch the centre-board schooner in a workmanlike manner, equal to and in no way inferior to the “ schooner Pauline.” ■ ■
The defendant in that action (the plaintiff in this) pleaded the general issue, that is, that he did not undertake and promise, in manner and form, etc. There was a verdict in that action of §1,500 and costs, for the plaintiffs, upon which the judgment was entered.
The theory of the plaintiff’s complaint in this action is, that by the contract he was bound to do only the ship-carpenter’s work; to furnish the materials for and do only the ship-carpenter’s work in a workmanlike manner, etc.
The work and materials which the plaintiff claims, in this action, to have been extra, outside of the contract, appear to have been done and furnished before the vessel was delivered to and accepted by the defendants.
If the defendants’ construction of the contract is the true construction, it appears to me, that the plaintiff’s claim for extra work and materials must fail, independent of the Mew Jersey judgment, and so it seems the referee thought. Mow, as it must be presumed, from the Mew Jersey record, that the court, in the Mew Jersey action, must have passed upon this question *475of the construction of the contract adversely to the plaintiff in this action (the defendant in that), I think the referee should have held the record a bar to this action.
Besides, it was shown by parol evidence on the trial of this action, that evidence bearing on the construction of the contract was given on the trial of the New Jersey action, and evidence tending to show that it was for Collyer, under it, to furnish certain items of work and materials.
It is true Collyer did not set off, in the New Jersey action, his claim for extra work and materials which he claims to recover for in this, probably because he never thought of making such a claim until that trial. It does not appear from the case, that he ever claimed to have done any work or furnished any extra materials before that trial, except such as he was paid for, specifying in his receipt for the money that it was for extra work.
It cannot be said to appear from the evidence in this case, that the defendants, or the defendant Collins, who superintended the building of the vessel, ever requested the plaintiff to do any work or furnish any materials as extra work or materials. The requests by Collins to do certain work or to furnish certain materials shown by the evidence, I think should he looked upon as notices merely, that he claimed that such work and materials were called for by the contract, to make the vessel like or as good as the Pauline.
The case does not show that when the plaintiff was notified by Collins, that he wanted certain materials, or materials of a certain kind, or quality, put in the vessel, or certain items of work done to her, that the plaintiff informed him that he claimed or considered such work or materials to be extra. The vessel having been delivered to the defendants and accepted by them, and they having had the benefit of all the work done by Collyer on her, and of all the materials furnished by him for her, if Collyer offered to show, on the New Jersey trial, that he had furnished materials or done work not required by the contract as construed by the court on that trial, we must presume, I think, that the evidence was received not as evidence of a set-off, but in diminution of the damages claimed by plaintiffs in that action.
Perhaps the defendants did not distinctly set up in their an*476swer in this action the ¡New Jersey judgment as an estoppel, or bar, to this action; but the record of that judgment was put in evidence, and was properly received in evidence, at least as evidence of a counter-claim; and the defendants having insisted upon it, also, as an estoppel, or bar, if the referee had held it to be a bar, I think he might and ought to have permitted the defendants to amend their answer. I think we may consider the answer amended.
The defendants’ exception at the end of the case authorizes them, I think, to raise the question of estoppel here.
I deem it unnecessary for us to pass upon the question, whether the referee’s construction of the contract was right, either of the grounds before stated being sufficient, in my opinion, for reversing the judgment.
The judgment should be reversed, and a new trial ordered, with costs to abide the event.
Leonard, J.I am satisfied that there should he a new trial in this case for errors committed on the trial and in the findings.
1. It was error to read the contract to a witness and inquire whether certain kinds of carpenters’ work were included in it, according to the usage of the trade. This is the inquiry substantially put to one of the plaintiff’s witnesses, and it appears to have been answered by the witness according to his judgment of the true construction of the contract by the usage of the trade.
The meaning of terms used in a contract may be ascertained by usage. When the meaning has been so ascertained, it is the province of the court to determine the construction and meaning of the contract, and to decide, in this case, whether the work and materials for which the plaintiff seeks to recover, were extra, or included therein. The witness cannot be allowed so to interpret the whole contract.
2. There is no ground for permitting a recovery for any thing as extra, except where the work or materials so claimed were ordered or directed by the defendant, or where he is shown to have known that the work or materials were extra, and did not object, or where he has acquiesced in or ratified it. It is not enough, in this case, that the defendants accepted and used the *477vessel after the work of the plaintiff was completed, for there is no evidence that the defendants had any knowledge that there was any extra work or materials, except a small amount, §102, for which they had paid.
The proof, on the part of the plaintiff, is insufficient to sustain the finding of the referee in this respect. Of course it cannot be doubted that extra work may have been done, and materials furnished, by the plaintiff upon the schooner, and in that event, if it was upon the request of the defendants, express or implied, the plaintiff is entitled to recover. Whether there was extra work and materials performed and furnished, depends upon what and how much is included in the term “ all the parts belonging to the ship-carpenter’s work,” mentioned in the contract. The referee appears to have correctly apprehended it.
3. The counsel for the plaintiff insists that the exception to the findings of the referee is general, when it should be specific. There is but one fact found, viz., that the defendants are indebted.
The exception is as specific as the finding. As the case has been heard on the merits, I am disposed to hold it for decision. I think, under the decisions, the case might be sent back for amendment so as to have findings of fact specifically stated in the case and also the exceptions. But we have looked into the merits and there will be no injustice done by rendering our decision without the amendment.
4. The questions arising in respect to the effect of the judgment in New Jersey, and the pendency of another action in this State, wherein the plaintiff has interposed his present cause of action as a counter-claim, have been very fully considered by the learned justice who presided on the argument of this case at the general term, but, with great respect, I must dissent from some of his conclusions.
1. The judgment in New Jersey is not res ad/judicafa on the present question. That action was to recover damages for a breach of the contract for the construction of the schooner. At common law, the value of extra work and materials, outside of the contract, could not be pleaded in such an action by way of recoupment or set-off. It is, by virtue of the statute law prevailing in the State of New York, that counter-claims on any cause of action arising on contract may be interposed in any *478action arising also on contract. We cannot assume that such a statute prevails in Hew Jersey. In the action in Hew Jersey no set-off was claimed or pleaded. Hr. Collyer pleaded to that action that he did not undertake and promise in the manner and form, etc., technically called the general issue; merely putting in issue the allegations of the declaration, viz., the making and breach of the contract. Under that issue, no evidence of extra work performed or materials furnished in performing the contract, was admissible. It would have been excluded if offered. The furnishing of extra work and materials did not tend to show that Hr. Collyer had not broken the contract set forth in the declaration.
If the defence was connected with the subject of the action the rule would be different. (Davis a. Tallcot, 12 N. Y. (2 Kern.), 184.) Where the defence to a former action consists in proving the same facts which constitute the foundation for recovery in the second action, there a recovery in the former is a bar to the second action. A former judgment is a bar only to such claims or matters as might have been litigated under the pleadings and issues as made in the action, not to all claims that might have been put at issue or litigated. (Burdick a. Post, 12 Barb., 168.) But, in a case where the defendant might set up his counter-claim or set-off, in answer to the plaintiff’s demand, he has his election whether he will do so or bring his cross action. Judge Bronson declares that to be the rule. (Batterman a. Pierce, 3 Hill, 171. See also the opinion of Judge Selden in Gillespie a. Torrance, 25 N. Y., 306, particularly page 310.)
2. In respect to the question arising from the counter-claim or set-off interposed by Hr. Collyer in the action brought in this State upon the judgment recovered against him in Hew Jersey, the authorities are also adverse to the views expressed by the presiding justice in this case.
In such case the party must be put to his election between the action which he has brought, and his counter-claim in the action brought against him. (Fabricotte a. Launitz, 3 Sandf., 743; Halsey a. Carter, 1 Duer, 667; Legnot a. Redding, 4 E. D. Smith, 285.) Opinion by Judge Ingraham. (Vide, also, Cordier a. Cordier, 26 How. Pr., 187, and Barth a. Burt, see Ante, 349.)
*479The rule that would require the plaintiff to desist or be barred from prosecuting this action, if correct, would also entitle him to demand that the counter-claim for the judgment recovered in New Jersey by the defendants, should be barred in this action by reason of their former action prosecuted on that judgment, and now pending in this State, as the answer in this case alleges.
3. Under the system of pleading prevailing in this State, it is not necessary to state what conclusion or judgment will be demanded on the facts pleaded. The court are to render such judgment as the facts legally admitted in evidence will justify or require. The defendants were at liberty to insist that the judgment rendered in New Jersey is a bar to this action, although no statement to that effect is made in the answer. The judgment was admissible in evidence, and might be claimed to constitute a set-off or a bar at the pleasure of the defendants, although it cannot, in the present case, prevail as a bar or an estoppel
I agree that the judgment be reversed and a new trial had before the same referee, with costs to abide the event, for the errors occurring at the trial, and for the defect of proof indicated.