Finish cleanup of class/field/method caching.

Change-Id: I289ae724cbd98487429275837d23b7b2d7096156
diff --git a/src/thread.h b/src/thread.h
index 91ea568..951aa2a 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -247,9 +247,13 @@
     top_of_managed_stack_pc_ = pc;
   }
 
-  // 'msg' may be NULL.
+  // If 'msg' is NULL, no detail message is set.
   void ThrowNewException(const char* exception_class_descriptor, const char* msg);
 
+  // If 'msg' is NULL, no detail message is set. An exception must be pending, and will be
+  // used as the new exception's cause.
+  void ThrowNewWrappedException(const char* exception_class_descriptor, const char* msg);
+
   void ThrowNewExceptionF(const char* exception_class_descriptor, const char* fmt, ...)
       __attribute__((format(printf, 3, 4)));