This is an appeal from a judgment entered on the pleadings and an order denying intervenor’s motion to vacate and set aside the judgment and permit the intervenor to file an amended complaint in intervention.
*741The essential facts are substantially as follows: The Union Trust & Savings Bank of Spokane commenced an action against the Idaho Smelting & Refining Co. to foreclose a trust deed executed by the Idaho Smelting & Refining Co. on January 25, 1908, for the security of a bond issue of $500,000. The defendant defaulted, and its default was entered on November 14, 1912. After the entry of default, the intervenor herein, Title Guaranty & Surety Co., obtained an order permitting it to intervene in the action, and on the same day, November 18, 1912, filed its complaint in intervention. The intervenor alleged its existence as a corporation under the laws of the state of Pennsylvania and its compliance with the foreign corporation laws of the state of Idaho and its right to do business within the state. It denies certain allegations of the complaint, and then alleges that on the first day of January, 1908, the Panhandle Smelting Co., a corporation doing business in the state of Idaho, was indebted to C. M. Fasset Co., Inc., and that it was also at the same time indebted to the Traders ’ State Bank, and that at the same time the Panhandle Smelting Co. was insolvent; “that on or about the first day of February, 1908, the Panhandle Smelting Co., Ltd., a corporation aforesaid, sold, transferred and conveyed all of its assets to the Idaho Smelting & Refining Co., a corporation, which assumed and agreed to pay all the debts of the Panhandle Smelting Co., Ltd., and assume all its liabilities.” The foregoing allegation is followed by an allegation that on May 20, 1908, and for several months prior thereto, there was an action pending in the district court in and for Bonner county in which C. M. Fasset Co., Inc., was plaintiff and the Panhandle Smelting Co., a corporation, was defendant, and that the plaintiff in that action sued out a writ of attachment against the defendant therein and that the defendant, the Panhandle Smelting Co., in order to obtain a release and discharge of the attachment secured this intervenor to give a bond for the release of attachment, and that thereafter C. M. Fasset Co. procured a judgment against the Panhandle Smelting Co. for the sum of $347.55, which judgments and interest and penalties inter-venor was thereafter obliged to pay, and did pay, and took *742from the C. M. Fasset Co. an assignment of its judgment. It is also alleged that upon July 24, 1908, there was pending in the district court in and for Bonner county, an .action wherein the Traders’ State Bank, a corporation, was plaintiff and Panhandle Smelting Co., Ltd., and Idaho Smelting & Refining Co. and J. Herbert Anderson were defendants, and that an attachment was sued out in that action, and the defendants procured this intervenor to execute and deliver to the plaintiffs a bond for the release and discharge of such attachment, and that such bond was accordingly given, and the property attached was released and discharged, and that thereafter a judgment was recovered in favor of the plaintiff, the Traders’ State Bank, for the sum of $4,109.88, and that thereafter the Traders-’ State Bank brought an action against the intervenor on the bond which it had executed for the release of the attachment and secured a judgment against the intervenor for $3,950.70, which judgment intervenor thereafter paid, together with interests and costs. Intervenor thereupon alleges that it is entitled to be substituted and subrogated to all the rights of the Traders’ State Bank and C. M. Fasset Co. under these several judgments, and to have its claim and remedy under such judgment against the Idaho Smelting & Refining Co., and to have such judgments paid out of the property which was transferred by the Panhandle Smelting Co. to the Idaho Smelting & Refining Co., which property was subsequently mortgaged to the plaintiff in this action. By paragraph 12 of the complaint in intervention it is alleged that the “Idaho Smelting & Refining Co., on or about the 22d day of January, 1908, executed and delivered to Union Trust Co. of Spokane, as trustee, a trust deed, or mortgage, upon all its property, real and personal, to secure the payment of bonds to be issued by it in a sum aggregating five hundred thousand dollars, which bonds this intervenor is informed and believes and therefore alleges, were to be sold, and the proceeds applied to the payment of all indebtedness, and balance used in the company business, but instead of selling said bonds, a large amount thereof unknown to this intervenor were issued to and kept by J. Herbert Anderson, George S. Brook, E. *743Nicholson, H. Wallenberger, John Moeine, S. W. Geobo, C. L. Greenough, and W. D. Greenough, and Fidelity Natl. Bank of Spokane, Wash., a corporation, without any present consideration other than antecedent indebtedness, and thereby intending to secure to themselves a preference over other creditors of the insolvent corporation, Panhandle Smelting Co., and to exclude from participation all other creditors, including C. M. Fasset Co., Inc., and Traders’ State Bank, and this intervenor.” Intervenor thereupon prays that the trust deed and bonds set up in plaintiff’s complaint be set aside and held for naught as against the intervenor, and that an accounting be had of the assets and property of the said defendant, Idaho Smelting & Refining Co., and its indebtedness to all parties and for all purposes be determined and fixed; that this intervenor be substituted to all the rights of C. M. Fasset Co., Inc., a corporation, and Traders’ State Bank under their respective judgments and under their attachments, and to all their rights, and that a sale of the properties and assets of the Idaho Smelting & Refining Co. be ordered, and that the order of preference, if any should be accorded among creditors, be determined, and that the proceeds from the sale be distributed in accordance with the right of preference.
The trial court held that this complaint in intervention was not sufficient to entitle intervenor to any relief whatever. The trial judge in his order sustaining a motion for judgment on the pleadings sets forth his reasons for sustaining the motion as follows:
“That said motion of the plaintiff be and the same is hereby sustained because the answer and complaint in intervention of the intervenor contains no allegations of insolvency of the Idaho Smelting & Refining Co., and because the same contains no allegation of fraud, actual or constructive, and because the same contains no allegations of effort on the part of the intervenor to exhaust its legal remedies or that such remedies ¡would be fruitless, and because the same contains no allegations of intervenor’s inability to collect its judgment by pursuing its legal remedies, and because the facts alleged in the said answer and complaint in intervention fail to show a right *744on the part of intervenor to intervene, and such facts are not sufficient to constitute a defense to plaintiff’s action or a right of action in behalf of intervenor. ’ ’
Counsel for appellant have not devoted much time to the discussion of the questions involved in the court’s ruling which he sets forth as his reasons for sustaining the motion for judgment on the pleadings. The appellant, however, has placed its chief reliance upon the proposition that the bond issue in this ease was in violation of sec. 9, art. 11 of the state constitution, which provides as follows:
“No corporation shall issue stocks or bonds, except for labor done, services performed, or money or property actually received ; and all fictitious increase of stock or indebtedness shall be void. The stock of corporations shall not be increased except in pursuance of general law, nor without the consent of the persons holding a, majority of the stock, first obtained at a meeting, held after at least thirty days’ notice given in pursuance of law.”
Counsel contend that under the foregoing provisions of the Idaho constitution and the like provisions of sec. 183, art. 12 of the constitution of the state of Washington, where the Idaho Smelting & Refining Co. was created and exists, “the bond issue secured by said mortgage or trust deed is absolutely void. ’ ’ Counsel for appellant, in support of this contention, rely chiefly on the following authorities: Farmers’ Loan & Trust Co. v. San Diego Street Car Co., 45 Fed. 518; Nichols v. Waukesha Canning Co., 195 Fed. 812; National Foundry & Pipe Works v. Oconto Water Co., 52 Fed. 29. Respondent, on the other hand, takes issue with appellant on the construction which counsel seek to place on this provision of the constitution and calls our attention to a great many authorities, among which are, 3 Thompson on Corporations, sec. 2301; Memphis etc. Co. v. Dow, 120 U. S. 287, 7 Sup. Ct. 482, 30 L. ed. 595; In re Goldville Mfg. Co., 118 Fed. 892; Wm. Firth Co. v. Loan & Trust Co., 122 Fed. 569, 59 C. C. A. 73; Atlantic Trust Co. v. Woodbridge Canal & Irr. Co., 79 Fed. 842.
It is apparent, however, as may be seen from the foregoing order of the district judge, that the trial court did not base *745his decision on a construction of this constitutional provision. His order and judgment rest on the proposition that the intervenor has not pleaded facts which give it a standing in court or entitle it to any relief. If any one of the reasons given by the judge for sustaining the plaintiff’s motion for judgment on the pleadings is sound, then the order must be upheld upon the ground that no issue was tendered sufficient to entitle the intervenor to any relief, irrespective of the power of the Smelting & Refining Co. to issue these bonds and execute the trust deed. Before the intervenor could show any right to relief, it would be first necessary for it to establish the fact that it had an existing claim against the Smelting & Refining Co. which the company was either legally or equitably bound to pay; and if the intervenor is seeking equitable relief, it must first show either that it had no legal remedy or if it did have a legal remedy that it had pursued such remedy and had been unable to collect the obligation, or, in lieu thereof, show that it would have been useless and fruitless to attempt to pursue any legal remedy. This, we think, is a well-established rule of law.
Again, it is alleged by the intervenor that when the Idaho Smelting & Refining Co. purchased this property from the Panhandle Co., “the Smelting & Refining Co. assumed and agreed to pay and discharge all of the debts of the Panhandle Smelting Co., Ltd., and assume all its liabilities.” If that allegation be true, as we must assume it is for the purposes of this consideration, then it was the duty of the intervenor, if it had either a legal or equitable claim against the Panhandle Co., to take the necessary steps to collect the same from the Smelting & Refining Co. if it could not collect it from the Panhandle Co.
It also appears that at the time of the sale and transfer from the Panhandle Smelting Co. to the Idaho Smelting & Refining Co., that the property was mortgaged to the Fidelity National Bank, and that this mortgage was assumed by the Smelting and Refining Co. as a part of the purchase price, and that the bond issue, among other things, was used to pay off or secure this pre-existing loan. Now, we express no *746opinion as to the power of the corporation under the constitution of this state to issue its bonds and pledge them as collateral security for a pre-existing indebtedness. This is one of. the questions that has been raised in the principal argument made in this case. The assumption, however, of this indebtedness by the Idaho Smelting & Befining Co. would constitute a valuable consideration for the sale and transfer.
It is alleged that the Panhandle Co. was insolvent at the time of the transfer. It is nowhere alleged, however, that the Idaho Smelting & Befining Co. was or has been at any time insolvent or unable to pay all its debts and obligations. It was necessary for intervenor to show this fact in order to maintain an action in intervention. (Hollins v. Brierfield Coal & Iron Co., 150 U. S. 371, 14 Sup. Ct. 127, 37 L. ed. 1113.) It is true that it appears from the pleadings herein that these bonds had been outstanding for several years and that no interest had been paid thereon. This, as a matter of proof, would be a circumstance tending to show insolvency, but such fact, standing alone, does not establish the insolvency of an individual or corporation which fails to pay interest on outstanding obligations, and for the purpose of considering and passing upon the pleadings a court would not be justified in seizing upon such a single isolated circumstance and drawing the legal conclusion therefrom that the corporation was insolvent. (Phipps v. Harding, 70 Fed. 468, 17 C. C. A. 203, 30 L. R. A. 513; 3 Clark & Marshall on Corporations, vol. 3, p. 2370.) It would be an unsafe and dangerous rule to announce that every person who does not meet his obligations as they fall due is insolvent. That kind of a doctrine would place a large number of perfectly solvent and responsible persons at the mercy of anyone who might want to ruin their business and credit by securing the appointment of a receiver to take charge of their business and property. Many men and corporations as well have plenty of property and assets to meet all obligations, and yet it is not in such condition that they can realize ready cash on it as their debts and obligations fall due.
*747It is nowhere alleged that the intervenor -could not collect this claim by process of law from the Smelting & Refining Co.,- — that it has made any attempt to collect from this corporation. It was necessary to allege these facts before intervenor would be in a position to contest the mortgage held by respondent against the Refining & Smelting Co. After the intervenor had first shown the existence of its claim and that it had exhausted all of its legal remedies, or that those remedies were useless and it would be vain to pursue them, and that the only way it could secure and collect its claim would be out of the property covered by this mortgage, then it would have been in a position to contest the validity of the mortgage and to raise the question as to whether or not these bonds had been issued and this mortgage had been executed in violation of the provisions of the constitution of this state (sec. 9, art. 11) or of the state of Washington, where this corporation was organized and exists.
The suggestion that the property covered by this trust deed is liable for the debt due intervenor under the provisions of see. 15, art. 11, of the constitution, does not receive any support from the allegations of the complaint in intervention. There is no suggestion in the pleadings that the debt pleaded was “contracted or incurred in the operation, use or enjoyment” of any franchise or privilege accorded to the corporation under the constitution or statute of this state. The allegations do not bring the claim within the decision of this court in Seymour v. Boise R. R. Co., ante, p. 7, 132 Pac. 427. On the other hand, Cooper v. Utah Light & Ry. Co., 35 Utah, 570, 136 Am. St. 1075, 102 Pac. 202, completely answers appellant’s contention on this phase of the case.
The contention made that the intervenor had no right of intervention is not well taken. It so happens that it failed to state a cause of action or any ground entitling it to relief and for that reason had no standing in the case. If, however, the facts which it omitted to plead, as hereinbefore indicated, had existed and been set forth in its complaint, it would clearly have come within the provisions of the statute (sec. 4111) and have been entitled to intervene. Any third party *748may intervene in an action in this state who has “an interest in the matter in litigation, in the success of either of the parties, or an interest against both.” (Potlatch Lumber Co. v. Runkel, 16 Ida. 192, 101 Pac. 396, 18 Ann. Cas. 591.)
Finally, it is argued by counsel for appellant that the court erred in denying the motion of intervenor to vacate and set aside the judgment and allow it to file an amended complaint in intervention. The showing made in support of this motion afforded more reason for denying it than for granting it. It appears by affidavit of one of the attorneys “that it was his intention, in the event of the plaintiff’s motion for judgment on the pleadings being granted, to immediately ask leave of the court to file an amended complaint in intervention to meet the grounds and objections upon which the court’s decision granting said motion might be based; .... that he desired to have the opinion of the court upon the points raised before applying for leave to amend, and that, relying upon his belief that he would be given notice of the decision before further action was taken by the court, he did not give notice, in advance of the decision, of his intention to ask for leave to amend in the event of an adverse decision.” We do not take it that counsel who made this showing intended to trifle with the court, but a moment’s reflection would satisfy anyone that such a course of conduct would have the effect of merely presenting moot questions to a court and seeking to get the court’s opinion of certain questions in advance of the trial of a case. Such a practice is unauthorized, and no attorney has a right to assume that a court, after passing upon a motion for judgment on the pleadings and granting the motion and the relief sought by the motion, is going to forthwith vacate and set aside such order and allow the parties to reform their pleadings and make up new issues in the case where no one is taken by surprise or unawares. If a litigant proposes to stand upon his pleading and argue a motion which goes to the very vitals of the issues, he must then abide the results. If he has amendments to propose, he ought to make them without taking the' time of the court and his adversary in arguing sham pleadings or such pleadings as do not cover *749all the facts he desires to put in issue or all the issues he desires to tender. A motion for judgment on the pleadings is granted because of a lack of issues or because no material issue has been joined.
The court did not err in denying the application to set aside the judgment and allow the intervenor to file an amended complaint.
The judgment should ,be affirmed, and it is so ordered. Costs awarded in favor of respondent.
Sullivan and Stewart, JJ., concur.