throw proper runtime.TypeAssertionError