delivered the opinion oe the court.
Section 2 of chapter 57, General Statutes, title Injuries to Person or Property, provides: “If, by the *195locomotives or cars of a railroad company, cattle or other stock shall be killed or injured on the track of said road, adjoining the lands belonging to or in the occupation of the owner of such cattle or stock, who has not received compensation for fencing said land along said road, the loss shall be divided between the railroad company and the owner of such cattle ox-stock, unless the killing or injury arose' from the willful act or carelessness or negligence of the agents ox-servants of such company, in which case the whole loss shall be paid by such company.”
As we construe this statute, the question of negligence on the part of the company is not required to be alleged or provexx in order to entitle the owner of the stock killed or injured to recover of the company one-half the loss sustained. This action by the appellee is based on the statute, and a recovery having been had in the court below on an admission of the facts alleged by the demurrer filed, the sole question presented is, did the facts alleged, if true, authorize the judgment, the appellant having declined to amend when the general demurrer was overruled %
It is alleged by the plaintiff that his horse was killed on the track of the railroad adjoining the lands in his occupancy, and that he had xiot received compensation from the company for fencing along said road. All the essentials to constitute a cause of action are set forth, except the alleged failure on the part of the company to compensate the owner of the land to enable him to make this fencing. If neither the owner nor the one occupying the land adjoining the track of the company where the stock was injured had received compen*196sation, a right of action existed for the loss sustained. Under the statute, however, compensation may not have been made the one in possession, and still no cause of action to the occupant if compensation had been made the owner of the adjoining land. The statute reads “killed or injured on the track of said road adjoining the lands belonging to or in the occupation of the owner of such cattle or stock who has not received compensation.” The owner of the land may recover when no compensation has been made him, or the occupant may recover if neither has been compensated. If the fact that the owner of the land has not been furnished with the means to construct the fence is a matter of defense, then that fact should have been pleaded, and the demurrer was properly overruled. The presumption must arise from the averment, the plaintiff occupied the premises, that he was not the real owner, and if compensation has been made the owner, this action must fail. If, then, under this section of the statute, the facts alleged by the plaintiff could be admitted, and still, by reason of the very clause upon which the recovery depends, a state of fact might exist preventing thee- recovery, the existence of such facts must be negatived by his pleading. The general rule in pleading, “that matter which should come more properly from the other side need not be stated,” does not apply to a case like this. The general rule, says Mr. Bliss, in declaring on a deed or other instrument consisting of distinct parts, is only to state so much as makes prima facie a cause of action, and if any other part furnishes the means of defeating the action, it *197comes from the defense. The difference is, “when the exception is embodied in the body of the clause, he who pleads the clause ought to plead the exception; but where there is a clause for the benefit of the pleader, and then a proviso which is against him, he shall plead the clause and leave it to his adversary to show the proviso.” It is well understood that if the proviso is in the body of the covenant, in the nature of an exception, the liability must be consistent with the exception, and must be noticed by the pleader. (Bliss on Code Pleading, page 102.)
Mr. Newman, in his work on pleading, says: “If the defendant’s promise contains, as part of it, an exception which qualifies his liability, or in certain contingencies renders him altogether irresponsible, the petition must, ordinarily, notice the exception or proviso. But when the proviso is distinct from the promise made, and' does not vary its legal effect, it is not necessary to notice it.” (Newman’s Pleading, 398.)
The obligation on the part of the company imposed by the statute is to furnish the owner or the occupant the means to construct fencing in order to prevent the injuries complained of. The body of the statute, in the one section and in the same sentence, relieves the company from liability upon compensation to either party; and while it may be neither an exception nor a proviso, in a technical sense, it is plain that the clause of the statute under which the recovery is sought makes the right of action, when the occupant sues, depend upon the failure by the company to compensate either the owner or the occupant to enable them to provide against such loss.
*198As this case must go back with directions to sustain the demurrer, with leave to amend, it is proper to notice the constitutional question raised by the appellant. It is argued the appellant is deprived of his property by this statute that fixes one grade of liability for it that is not imposed on other citizens under like circumstances. We understand that this same liability is imposed on all such corporations, and when exclusive, or if not exclusive, extraordinary rights and privileges are granted such corporations, there is no reason why some liability should not attach for the protection of both person and property. While the consideration for such peculiar privileges granted to corporations is the benefit to the public, the danger resulting from the operation of railways demands some legislation that will result in an equitable adjustment of the loss between the owner of stock and the railroad company, when the latter, whether negligently or by accident, destroys it. Such legislation is not inhibited by any provision of the Constitution, and when such rights and privileges are conferred on corporations that do not pertain to the citizen, and of which the citizen can not complain, certain liabilities will necessarily attach for the privileges granted. The common law liability has been changed by repeated statutes, and the rights and duties of corporations regulated by such legislation as was deemed necessary for the protection of property, and we think there is no room to question the constitutional ity of the act tinder which this judgment was rendered.
For the reasons indicated, the judgment is reversed, with directions to sustain the demurrer, with leave to *199the plaintiff, to amend, and for proceedings consistent with this opinion.
Missouri Pacific Railway Company v. Humes, 115 U. S., 512; Johnson v. St. Louis, &c., Ry. Co., 76 Mo., 553; Mackie v. Central Railroad Co., 54 Iowa, 540.