This is convoluted:
You should either use « "Invalid family name: " + mFamily » directly,
or « String.format("Invalid family name: %s", mFamily)

Here you combine both, the String.format() has nothing to format.