coverity#1019323 Unchecked dynamic_cast

Change-Id: I3d8b598e86339fdd51af48e62393550821b6278d
coverity#706577 Uncaught exception

Change-Id: Ifc4c7f3e7a19bad2ae420c0ebab54cf56404de51
coverity#706541 Uncaught exception

and

coverity#706537 Uncaught exception

Change-Id: I403d83bb7aa4cf82edf1b6c608f9daac31576208