Add missing throw to default_internal=.

The exception is created but not thrown in setDefaultInternal; the same issue used to exist for setDefaultExternal, but was previously fixed.