diff options
Diffstat (limited to 'runtime/transaction.cc')
-rw-r--r-- | runtime/transaction.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/transaction.cc b/runtime/transaction.cc index c0fd7a5..2199021 100644 --- a/runtime/transaction.cc +++ b/runtime/transaction.cc @@ -75,8 +75,7 @@ void Transaction::ThrowInternalError(Thread* self, bool rethrow) { CHECK(IsAborted()) << "Rethrow InternalError while transaction is not aborted"; } std::string abort_msg(GetAbortMessage()); - self->ThrowNewException(self->GetCurrentLocationForThrow(), "Ljava/lang/InternalError;", - abort_msg.c_str()); + self->ThrowNewException("Ljava/lang/InternalError;", abort_msg.c_str()); } bool Transaction::IsAborted() { |