Every prisoner confined in a custodial unit of the adult correctional institutions or in the custody of the warden or other correctional employee while outside the confines of the institutions who causes or attempts to cause any deputy sheriff to come into contact with blood, seminal fluid, urine or feces, by throwing, tossing or expelling the fluid or material with the intent to harass, annoy, threaten or alarm, shall be imprisoned not exceeding two (2) years, or fined not less than five hundred dollars ($500) nor more than two thousand dollars ($2,000), or both.
R.I. Gen. Laws § 11-5-15