(a) Disability of Judge During Jury Trial.
If, before the judge submits the cause to the jury, he or she is unable to continue with the trial, any other judge assigned to or regularly sitting in the court, upon becoming familiar with the record of the trial, may proceed with the trial. Upon defendant's objection to the replacement, a mistrial shall be granted. If, after the judge submits the case to the jury, he or she is unable to continue, the case shall proceed before another judge.
(b) Disability of Judge During Nonjury Trial.
If a judge before whom trial without jury has commenced is unable to proceed with the trial, a mistrial shall be granted.