summaryrefslogtreecommitdiffstats
path: root/runtime/thread.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-07-21 22:56:08 -0700
committerAndreas Gampe <agampe@google.com>2014-08-26 10:54:56 -0700
commitd9efea646485fe996c967f4680a3fc4cdc40b251 (patch)
tree3fd198f4c7a21e34d1130d5bcda20d892fb21b07 /runtime/thread.h
parente18aa4316eb9a15cd6b1051f27a1ce49967c170e (diff)
downloadart-d9efea646485fe996c967f4680a3fc4cdc40b251.tar.gz
art-d9efea646485fe996c967f4680a3fc4cdc40b251.tar.bz2
art-d9efea646485fe996c967f4680a3fc4cdc40b251.zip
ART: Improve error message on oat writer failure
Try to log the pending exception to help resolve issues. Bug: 16406811 Change-Id: I035ae9e59a5ee02b9e90c35c0644ec088d3c7d12
Diffstat (limited to 'runtime/thread.h')
-rw-r--r--runtime/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/thread.h b/runtime/thread.h
index fe950c4691..5283ca6fc2 100644
--- a/runtime/thread.h
+++ b/runtime/thread.h
@@ -321,6 +321,7 @@ class Thread {
return tlsPtr_.exception;
}
+ void AssertPendingException() const;
void AssertNoPendingException() const;
void AssertNoPendingExceptionForNewException(const char* msg) const;