private static Rop throwBadTypes(TypeList types) {
    throw new IllegalArgumentException("bad types: " + types);
  }
Throws the right exception to complain about a bogus list of types.

@param types {@code non-null;} the bad types
@return never
android/android_framework/dex-maker/src/main/java/com/android/dx/rop/code/Rops.java