As a general rule, compensation is the relief or remedy provided by the law of this state for the violation of private rights, and the means of securing their observance; and specific and preventive relief may be given in no other cases than those specified herein.
R.L. 1910, § 2843.