diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-08-11 21:31:19 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-08-11 21:32:29 +0200 |
commit | f26117a5f4c78d9230b115ab88ed53b8ad45ccd5 (patch) | |
tree | d6352c2d277fcfd3072421ddb6c67b0807d89786 /bridges | |
parent | 77fbea9b640dfc587f855367131728a337cd14a4 (diff) |
Avoid throw in destructor
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/test/java_uno/acquire/testacquire.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bridges/test/java_uno/acquire/testacquire.cxx b/bridges/test/java_uno/acquire/testacquire.cxx index 130588c5c503..7cca9a8a5498 100644 --- a/bridges/test/java_uno/acquire/testacquire.cxx +++ b/bridges/test/java_uno/acquire/testacquire.cxx @@ -85,7 +85,8 @@ private: WaitCondition::~WaitCondition() { std::cout << "waiting for condition\n"; if (m_condition.wait() != osl::Condition::result_ok) { - throw "osl::Condition::wait failed"; + std::cerr << "osl::Condition::wait failed\n"; + std::abort() } } |