The difficulty with the plaintiff’s case seems to have been that the complaint was framed upon an entirely erroneous theory as to the measure of damages. The damages arising from the destruction of *152material because of tbe unevenness of tlie power could not be recovered, as if sucb was a necessary result of tbe use of tbe power as furnished, the plaintiff was at fault' in attempting to use tbe power and thus put at hazard bis material which must necessarily be destroyed because of the quality of the power furnished. The plaintiff could not make damages by the use of an article furnished, which it knew to be entirely unsuited to the uses to which it was to be applied.
The rule of damages laid down in the case of Griffin v. Colver (16 N. Y., 489), is that the party injured is entitled to recover all his damages, including gains prevented as well as losses sustained, and the rule is subject to two conditions. The damages must be such as may fairly be supposed to have entered into the contemplation of the parties when they made the contract; they must be such as might naturally be expected to follow its violation, and they must be certain both in them nature and in respect to the cause from which they proceed.
In the case cited there had been a failure to deliver on a certain day a steam engine built and purchased for the purpose of driving a planing mill, and it was held that the estimated profits from the use of the machinery could not be recovered as being too uncertain, but that the ordinary rent or hire which could have been obtained for the use of the machinery, whose operation was suspended for want of the steam engine, might be recovered as damages.
The case of Cassidy v. Le Fevre (46 N. Y., 562) affirms the same doctrine and calls attention to the distinction between the facts in the case cited of Messmore v. New York Shot and Lead Company (40 N. Y., 422), in which case profits upon a contract were allowed to be recovered because the vendor knew at the time he made his contract that the purchaser had a contract with another party for the identical goods contracted for, and that he was making the contract with the vendor for the fulfillment of this contract. Therefore in the case a.t bar the profits which might have resulted from the continuation of the plaintiff’s business were too remote to admit of a recovery. The facts sought to be proved as to the allegation that the workman did less work are of an equally uncertain character conjective, and must be included in the damages *153recoverable as laid down in the cases cited. The claim for repairs which the plaintiff was required to make to its machinery seems to be governed by the same rule as has been applied to loss of material. If the power furnished was unfit for the use of the plaintiff’s machinery, the plaintiff knew it and the plaintiff had no right to make damages by its attempted use.
. It is true that questions were attempted to be put tending to show what the ordinary rent or hire was of the machinery during the time of this deficiency of power, which were excluded, which ruling would have been error had there been any allegation in the complaint basing any claim for damages upon this ground. But the complaint made no claim for damage upon this ground. No such issue was presented and consequently the evidence offered was not relevant to any issue presented by the pleadings.
No error seems, therefore, to have been committed upon the trial, and the judgment should be affirmed, with costs.
Daniels and Bartlett, J J., concurred.Judgment affirmed, with costs.