Three actions to enforce individual liens were filed in the superior court against Tuolumne Gold Dredging Corporation, the owner of certain gold-bearing lands, the Johnson Company, the holder of a contract with the Tuolumne Company for the construction of a gold dredge, and the Fidelity and Deposit Company, the surety on a faithful performance bond covering that contract.- The lien claimants were all subcontractors of the Johnson Company and they performed practically all the work and furnished the materials for the construction of the gold dredge. The three actions were consolidated for trial, judgments were duly entered in favor of the three lien claimants, and against the surety. During the course of the trial the claims of these lien holders, and the unsecured claim of Moore Machinery Company, which is not involved in the appeal, were established without any material contest, but the main issues involved, and with which this appeal relates, were tried on the respective cross-complаints of the Tuolumne Company and the Johnson Company. A judgment favorable to the Johnson Company and the Fidelity and Deposit Company was entered against the Tuolumne Company, from which the latter has appealed, naming all other parties respondents. After the appeal was perfected a stipulation was filed herein reciting that the lien claimants had been joined as nominal respondents only, that no relief was sought affecting the judgments in relation to their liens, and that they need not apрear or file briefs herein. The issues on the appeal are thus narrowed to the controversy between the owner of the premises and the original contractor concerning the performance of the contract. There is also the issue of the liability of the surety on the original contract.
The Johnson Company filed a cross-complaint against the codefendant, the Tuolumne Company, claiming a certain amount due under the terms of the original contract. The Tuolumne Company filed a cross-complaint against the Johnson Company and its surety claiming damages for failure to perform the conditions of the contract. Prior thereto the Tuolumne Company had filed in the same superior court an independent action against the same parties pleading the same matters and seeking the same relief. That action had been removed upon motion of Johnson Company to the United States District Court where it was still pending at all the time during these proceedings. After all the evidence
Preliminarily it should be stated that the objection to the offer of proof of the аffirmative allegations of the cross-complaint of the Tuolumne Company was sustained upon the ground that another action was pending in the federal court for the same relief. The objection to the offer of proof of the allegations of its answer to the cross-complaint of the Johnson Company, and of the defensive matters pleaded in its own cross-complaint, was sustained upon the ground that it was too general and insufficient in law to constitute a valid offer of proof.
In this portiоn of the opinion we will refer to the Tuolumne Company as appellant and to the Johnson Company as respondent. The basis of the attack upon the ruling on the question of the pendency of another action is that it led to the finding and conclusion of the trial court that appellant was “barred” from presenting evidence under its cross-complaint “for affirmative recovery thereon” whereas, the appellant argues, if the plea were good the action should have been abated and not barred.
The circumstances under which the question arises are
It was made equally clear by the trial court, and by the statements of respective counsel at the time, that the ruling upon appellant’s offer of proof was made separately; that, as to the affirmative matter pleaded in appellant’s cross-complaint, the objection was sustained upon the ground that anоther action was pending for the same relief; that, as to any defensive matter to the cause of action pleaded in respondent’s cross-complaint, the offer of proof was too general. Appellant does not contend that it was error to suspend proceedings upon the cross-complaint for the reasons stated. Cases cited by appellant support the ruling.
(Conner
v.
Bank of Bakersfield,
But it is contended that the ruling was inequitable because the respondent was permitted to proceed tо trial on its cross-complaint though some of the issues involved therein were the same as those involved in the “other action.” The respondent replies that the appellant did not make the plea either by demurrer or answer, that it was fully warned by the same plea made by the defendant Fidelity & Deposit Company of Maryland in its answer filed prior to the trial, and that the question was not raised in the trial court.
In its reply brief the appellant suggests that the judgment as entered is error and that the trial court should have followed the procedure outlined in section 597 of the Code of Civil Procedure and entered an interlocutory judgment pending determination of the proceeding in the federal court. The point was not raised before the trial court and is raised here for the first time in appellant’s reply brief. But it is one of easy solution. The code section provides that when the answer pleads that another action is pending upon the same cause “the court may, upon the motion of either party, proceed to the trial of such special defense . . . and where the defense of anothеr action pending is sustained ... an interlocutory judgment shall be entered in favor of the defendant pleading the same. ...” If the judgment as entered should be interpreted as barring this appellant for all time from prosecuting its cross-complaint for affirmative relief there would he merit in the argument. But we are satisfied that the judgment should not be so interpreted. However, in order that the matter may be clear for further proceedings between the parties it is proper that the judgment in this respect be amended so as to comply with the code section and enable the court to hear the issue after the termination of the proceedings in the federal court.
The next question relates to the ruling of the trial court upon appellant’s offer of proof. This question appears more complicated than necessary because of appellant’s insistence that the trial court refused to permit appellant to offer any evidence in defense of the respondent’s cross-complaint as well as in support of the affirmative allegations of appellant’s cross-complaint. On frequent occasions the trial court informed appellant that its ruling on the defense of another action pending related solely to the proof of the “affirmative” matter pleaded in appellant’s cross-complaint, and that the ruling relative to the defensive matters only was based upon the insufficiency of the offer of proof. The form of this offer, as well as respondent’s objeсtion, is set forth in the
From the record it is clear that the trial court denied the appellant’s offer to prove the affirmative allegations on the ground that another action for the same cause was then pending. This would cover all those allegations which coincided with the cause of action pleaded by appellant in the proceeding then pending in the federal court and which would support appellant’s plea for affirmative relief. It did not, therefore, include the defensive matters pleaded in appellant’s cross-complaint and answer, because such matters were not made an issue in the other action. Appellant refers
Appellant attacks the portion of the judgment relating to the second cause of action pleaded in respondent’s cross-complaint. This is a pleading for the recovery of the reasonable value of work and labor furnished appellant in excess of the original contract. The appellant filed а general demurrer which was submitted without argument, and overruled, and appellant answered. If the general demurrer could be deemed sufficient to present the ground now advanced by the appellant—misjoinder of causes of action— the objection was waived when the parties stipulated that the trial should proceed upon the pleadings then filed. But it seems apparent that when the statute specifies specific grounds of special demurrer those grounds cannot be raised by general dеmurrer. (21 Cal.Jur. 108.)
We are not impressed with the appellant’s argument that the plea of another action pending cannot apply between cross-complainants and cross-defendants, but must be confined to those eases where the plaintiffs and defendants are the same parties. Some of the language used in
Hamm
v.
San Joaquin etc. Canal Co.,
Then it is argued that the issues raised by “the pleadings” were such that they could not be tried on the cross-complaint of the Johnson Company alone. Appellant cites various items of its pleading found in its cross-complaint and in its answer. All these matters which were defensive matters to the Johnson Company cross-complaint were in fact tried under the ruling of the trial court which denied appellant the right to try affirmative matters only. It is incorrect to say that these defensive matters were not tried. Appellant called two witnesses and presented a considerable amount of evidence before the objection was made to the proof of matters in support of affirmative relief. We cannot agree with appellant that it was denied the right to contest respondent’s claim or that the ruling denying proof of the affirmative matters could be so construed. During the frequent discussions betweеn court and counsel some words were used inadvertently which lend color to the argument, but the trial court took extreme care to advise counsel of the full purport and extent of the ruling. It is not conceivable that this distinction was not clear to counsel at the time of the trial, or that, if a proper and sufficient offer of proof had been made of the “defensive” matters, the appellant would have been denied the right to contest and controvert the evidence of respondent оn the latter’s cross-complaint.
In its answer to the cross-complaint of Tuolumne Company the bonding company pleaded the pendency of the other action in the federal court, and also that the cause of action was barred because not commenced within six months after the completion of the dredger. Both pleas were sustained. If the first plea alone had been sustained the judgment should have suspended proceedings on the cross-complaint until the termination of the оther proceeding. But if
The trial court found that the Tuolumne Company took possession of the dredge on June 25, 1938, though the evidence and the admission of counsel would have supported a finding that the possession dated from June 15, 1938. The cross-complaint was filed on June 9, 1939. The bond stipulated that any action to recover under it should be commenced within six months from the completion of the work provided for in the contract. By the terms of this contract the owner was permitted a ninety-day trial period of operation of the dredge to discover any defects in its construction. Upon the completion in June, 1938, the owner took full and exclusive possession of the dredge; the operation of the dredge for the ninety-day period was conducted by the owner, several defects were noted, and these were corrected by the contractor." The basis of the cross-complaint of the Tuоlumne Company is that other defects were discovered after the trial period and it sued for damages for failure to “complete” the terms of the contract.
So far as the liability of the bonding company is concerned it was obligated to insure the faithful performance of the contract, and such obligation terminated when the work was accepted by the owner, subject to the curing of these defects which were discovered and asserted within the ninety-day trial period. It is the contention оf the bonding company, and this is supported by a mass of evidence in which there is no substantial conflict, that the difficulties which the Tuolumne Company found in the construction and operation of the dredge were due either to faulty plans or to lack of proper knowledge of methods of operation and repair. Since the bond expressly relieved the bonding company of liability of that character it is contended that the judgment should favor the bonding company on the merits.
But the trial court concluded that the cross-complaint of the Tuolumne Company was barred because not filed within six months of the completion of the contract, and this conclusion is so sound that there is no purpose in extending the opinion in the discussion of other matters.
The cross-complaint filed by the Tuolumne Company set up against the bonding company an entirely new cause of action and had no relation to, or bearing upon, the causes of action pleaded by the various lien claimants, other
The principle underlying the rule that a statute of limitations is suspended by the filing of the original complaint is that the plaintiff has thereby waived the claim and permitted the defendant to make all proper defenses to the cause of action pleaded. But, where the controversy is limited to cross-defendants, none of whom has done any act in the nature of a waiver the reason for the rule does not exist.
The appellant’s argument that time to sue was suspended by the filing of the original complaints because section 438 of the Code of Civil Procedure permits the filing of a counterclaim for any cause “existing at the commencement of the action” is based upon a misunderstanding of the existing law. The early section contained the language referred to and noted in
Perkins
v.
West Coast Lumber Co.,
From what we have said in reference to the plea of the Johnson Company of another action pending it follows that the same plea made by the bonding company was good. If a plea of abatement only had been made, the judgment in favor of the bonding company should have been interlocutory. But the plea that the action was barred by the terms of the contract compels a judgment against the Tuolumne Company on that ground alone. It is argued that the action now pending in the federаl court, in which the bonding company was joined as a defendant with the Johnson Company, was filed within the six months’ period, and that that action was sufficient to stay the running of the limitation. If such action were filed within time the parties are free to litigate the issues upon the merits, as nothing which we have said herein determines any issue relating to appellant and the bonding company except that, in this action, the cross-complaint was filed too late.
Paragraph 12 of the judgment is amended to read: “That Tuolumne Gold Dredging Corporation take nothing by its cross-complaint against Fidelity and Deposit Company of Maryland, and that, until the final determination of the proceeding in the federal court, all proceedings under said cross-complaint against Walter W. Johnson Company, as cross-respondent to said cross-complaint be suspended. ” In other respects the judgment is affirmed as to all respondents. The respondent Johnson Company shall bear its own costs on the appeal; other respondents shall have their costs.
Sturtevant, J., concurred.
A petition for a rehearing was denied March 25, 1944, and appellant’s petition for a hearing by the Supreme Court was denied April 20, 1944.
