private static Rop throwBadType(TypeBearer type) {
    throw new IllegalArgumentException("bad type: " + type);
  }
Throws the right exception to complain about a bogus type.

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