In all cases arising under this chapter in which a person is charged with contempt in a court of this state, the accused shall enjoy the right to a speedy and public trial by an impartial jury; provided, that this right does not apply to contempts committed in the presence of the court or so near to the court as to interfere directly with the administration of justice or to apply to the misbehavior, misconduct, or disobedience of any officer of the court in respect to the writs, orders, or process of the court.
R.I. Gen. Laws § 28-10-5