fix use of RuntimeException constructor

Change-Id: Ia8fe44ea365183a8dec8027812b4877be080070d