80 P. 717 | Cal. | 1905
This is an application for a peremptory writ of mandate. There is no controversy as to the material facts, which are as follows, viz.: —
An action wherein this plaintiff was plaintiff, and various persons and corporations were defendants, was pending in the superior court of Colusa County, the object thereof being to have it determined that the plaintiff's intestate was the owner of certain water locations and water-rights and rights of way, that whatever right, title, or interest was held by defendants therein was held by defendants in trust for plaintiff, and to require defendants to convey all of the same to plaintiff.
Demurrers to the amended complaint had been interposed by the defendants, and the demurrers of some defendants had been overruled, while the demurrers of others had been, by order made and entered, sustained, with leave to plaintiff to amend his complaint within ten days.
Plaintiff had failed to amend, but no final judgment in favor of the defendants whose demurrers had been sustained had been ordered or entered.
The defendants whose demurrers had been overruled, served and filed their answer to the amended complaint.
Under these circumstances, plaintiff moved in the court below, upon notice to the defendants whose demurrers had been sustained, "for an order vacating the order of said court sustaining the demurrers of said defendants, and bringing the said defendants into court and overruling the demurrers of said defendants," upon the ground, — 1. That a complete determination of the controversy cannot be had without said defendants, and their presence will prevent a multiplicity of suits; and 2. That the orders sustaining the demurrers were inadvertently made, for the reason that they were not well taken. The said defendants objected to the hearing or consideration of the motion upon various grounds, amounting substantially, to this, viz., that the orders sustaining the demurrers *498
were in effect res judicata, and the court had no power to set aside or vacate the same, directly or indirectly; that by reason thereof said defendants had been dismissed from the action, and the court had lost jurisdiction over them; and that so long as such orders remained in force the court had no power or jurisdiction to bring said defendants back into the action. It was further objected that no showing was made to the effect that the orders were made through any inadvertence, surprise, or excusable neglect, as provided in section
The ruling of the court upon the objections was as follows, viz: "The court having duly considered the same, ruled that the objection to entertain such motion be sustained upon the groundthat the court had no power to hear the motion without ashowing."
Thereupon the plaintiff applied to this court for a preemptory writ of mandate, requiring said superior court and the judge thereof simply to take jurisdiction of said motion and hear the same upon its merits.
We are satisfied that the superior court had the power to entertain the motion, and that no showing of "mistake, inadvertence, surprise, or excusable neglect," which was evidently the "showing" referred to by the superior court, was essential as a prerequisite to the exercise of such power. The motion was in part for an order bringing said defendants in as parties, upon the ground that a complete determination of the controversy could not be had without their presence. The statute expressly authorizes such an order, providing that "when a complete determination of the controversy cannot be had without the presence of other parties, the court must then order them to be brought in, and to that end may order amended and supplemental pleadings, or a cross-complaint to be filed, and summons thereon to be issued and served." (Code Civ. Proc., sec. 389.) The court having jurisdiction of the cause necessarily has jurisdiction to entertain an application for an order bringing in such parties, at any time prior to judgment, and where such an application is made the court ought to hear the same upon its merits, in order that such parties may be brought in, if their presence is essential to a complete determination of the controversy. *499 So far as the jurisdiction of the court to hear such an application is concerned, it can make no material difference whether the parties sought to be brought in were or were not originally named as parties to the action. The prior proceedings in the action in relation to them, where they were once parties, may have been such as to finally dispose of the issues in their favor, but this is a matter that goes to the merits, and not to the jurisdiction of the court to hear the application upon the merits, and rule upon the same.
As, however, a writ of mandate will not be granted where it appears that the relator has no right to the relief which it is his ultimate object to attain, and that the writ will serve no purpose except that of enforcing a mere abstract right, unattended by any substantial benefit (see Gay v. Torrance,
In Sherburne v. Straun,
An order sustaining a demurrer is not a judgment, and does not have the effect of finally and irrevocably dismissing the demurring party from the action. "It may form the basis for rendering a judgment, but it is not itself a judgment" (Sivers v.Sivers,
The plaintiff was entitled to have the trial court entertain and consider his motion on its merits. It is not intimated that the records, files, and papers in the action, including the answers of certain defendants filed subsequent to the ruling on demurrer, did not show a case which would justify the court in bringing in the parties named, and in concluding that it had erred in sustaining their demurrers to the amended complaint. We cannot say, therefore, that the petitioner is here seeking to enforce a mere abstract right, unattended by any substantial benefit.
Under these circumstances, there can be no serious doubt as to the right of plaintiff to a writ of mandate, compelling the trial court to exercise its jurisdiction, by hearing and disposing of the motion. This, clearly, it has not done. The order made by it upon the disposition of the motion was precisely the same in effect as the order considered by this court in Cahill v.Superior Court,
Let a peremptory writ of mandate issue as prayed for.
Shaw, J., Van Dyke, J., Lorigan, J., Henshaw, J., and Beatty, C.J., concurred.