summaryrefslogtreecommitdiffstats
path: root/vm/Exception.h
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2011-03-03 13:10:04 -0800
committerDan Bornstein <danfuzz@android.com>2011-03-03 13:10:04 -0800
commit85ba81d1da57c9f19c54bee3d7907b70045dad46 (patch)
tree3e67a568f6a4923058494cdc3599e1d5fef47c98 /vm/Exception.h
parentcfb32121210a260fab1c010e134738d1e32c567e (diff)
downloadandroid_dalvik-85ba81d1da57c9f19c54bee3d7907b70045dad46.tar.gz
android_dalvik-85ba81d1da57c9f19c54bee3d7907b70045dad46.tar.bz2
android_dalvik-85ba81d1da57c9f19c54bee3d7907b70045dad46.zip
Set up a few more exceptions.
I'm starting to scrape the bottom of the barrel. Bug: 3500987 Change-Id: If9c0f922506a94e78c504ea8c58176effe5fe00c
Diffstat (limited to 'vm/Exception.h')
-rw-r--r--vm/Exception.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/vm/Exception.h b/vm/Exception.h
index 855e7ca47..6d2743734 100644
--- a/vm/Exception.h
+++ b/vm/Exception.h
@@ -436,6 +436,12 @@ void dvmThrowStringIndexOutOfBoundsExceptionWithRegion(jsize stringLength,
jsize requestStart, jsize requestLength);
/**
+ * Throw a TypeNotPresentException in the current thread, with the
+ * human-readable form of the given descriptor as the detail message.
+ */
+void dvmThrowTypeNotPresentException(const char* descriptor);
+
+/**
* Throw an UnsatisfiedLinkError in the current thread, with
* the given detail message.
*/
@@ -448,6 +454,12 @@ void dvmThrowUnsatisfiedLinkError(const char* msg);
void dvmThrowUnsupportedOperationException(const char* msg);
/**
+ * Throw a VerifyError in the current thread, with the
+ * human-readable form of the given descriptor as the detail message.
+ */
+void dvmThrowVerifyError(const char* descriptor);
+
+/**
* Throw a VirtualMachineError in the current thread, with
* the given detail message.
*/