The Senate or the House of Representatives may punish, as a contempt, by imprisonment, a breach of its privileges or the privileges of its members; but only for one or more of the following offenses:
(1) Knowingly arresting a member or officer of the Senate or the House of Representatives, or procuring such member or officer to be arrested in violation of his privilege from arrest;(2) Disorderly conduct in the immediate view of the Senate or the House of Representatives, and directly tending to interrupt its proceedings;(3) Refusing to be examined as a witness either before the Senate or the House of Representatives, or a committee thereof, or before any person authorized to take testimony in legislative proceedings;(4) Giving or offering a bribe to a member, or attempting, by menace or other corrupt means or device, directly or indirectly, to control or influence a member in giving his vote, or to prevent his giving the same; but the term of imprisonment which the Senate or House of Representatives may impose for any contempt specified in this section shall not extend beyond the session of the Legislature.