Ensure referenced catch block exceptions are in the image.

This addresses Bug: 5732744.

Change-Id: Ia9319b821f94bb27a11358f11b5473bb405277bb
diff --git a/src/object_utils.h b/src/object_utils.h
index dc48aa0..f323190 100644
--- a/src/object_utils.h
+++ b/src/object_utils.h
@@ -438,6 +438,9 @@
   const DexFile::CodeItem* GetCodeItem() {
     return GetDexFile().GetCodeItem(method_->GetCodeItemOffset());
   }
+  bool IsResolvedTypeIdx(uint16_t type_idx) const {
+    return method_->GetDexCacheResolvedTypes()->Get(type_idx) != NULL;
+  }
   Class* GetClassFromTypeIdx(uint16_t type_idx) {
     Class* type = method_->GetDexCacheResolvedTypes()->Get(type_idx);
     if (type == NULL) {