No action shall be brought against the state or the department or its agents or employees for the recovery of damages caused by the partial or total failure of any dam or reservior or through the operation of any dam or reservoir upon the ground that such defendant is liable by virtue of any of the following: