diff options
author | Dan Bornstein <danfuzz@android.com> | 2011-03-01 13:22:13 -0800 |
---|---|---|
committer | Dan Bornstein <danfuzz@android.com> | 2011-03-01 13:52:46 -0800 |
commit | bc606f5e72b16f3759f5d414c7444204908718aa (patch) | |
tree | 4340892fe79aa7b533c6158f5ba9f2dca37f3c9a /vm/Exception.h | |
parent | 21c3c3e2ea19568c459cb3ad316a46c1bda66a02 (diff) | |
download | android_dalvik-bc606f5e72b16f3759f5d414c7444204908718aa.tar.gz android_dalvik-bc606f5e72b16f3759f5d414c7444204908718aa.tar.bz2 android_dalvik-bc606f5e72b16f3759f5d414c7444204908718aa.zip |
Clean up a few more exceptions.
Bug: 3500987
Change-Id: I9d6dcf429ca67a64a81e4489b1087948f9673e07
Diffstat (limited to 'vm/Exception.h')
-rw-r--r-- | vm/Exception.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vm/Exception.h b/vm/Exception.h index 16330a433..4bea088a7 100644 --- a/vm/Exception.h +++ b/vm/Exception.h @@ -344,6 +344,14 @@ void dvmThrowIncompatibleClassChangeErrorWithClassMessage( const char* descriptor); /** + * Throw an InstantiationException in the current thread, with + * the human-readable form of the given class as the detail message, + * with optional extra detail appended to the message. + */ +void dvmThrowInstantiationException(ClassObject* clazz, + const char* extraDetail); + +/** * Throw an InternalError in the current thread, with the given * detail message. */ |