Ah, but here I use the "msg" string in constructing the exception object.  That's why it's separate. The other was a cut-and-paste of this, but isn't throwing an exception.