Pretty much any code which decodes characters risks throwing a `UTFException`, and both iterating over strings and converting them tend to do that. Really, you tend to have to assume that any code dealing with strings could throw a `UTFException`. Not all of it can, but a large portion of it can, and you certainly can't know for certain without looking at exactly what it does.