Change the exception throw way for VIM register.

No match.