summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/thread/MonitorMutexTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceUtil/thread/MonitorMutexTest.cpp')
-rw-r--r--cpp/test/IceUtil/thread/MonitorMutexTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/IceUtil/thread/MonitorMutexTest.cpp b/cpp/test/IceUtil/thread/MonitorMutexTest.cpp
index 3c0c0d2b6bf..97d2b75847f 100644
--- a/cpp/test/IceUtil/thread/MonitorMutexTest.cpp
+++ b/cpp/test/IceUtil/thread/MonitorMutexTest.cpp
@@ -33,7 +33,7 @@ public:
Monitor<Mutex>::TryLock lock(_monitor);
test(false);
}
- catch(const LockedException&)
+ catch(const ThreadLockedException&)
{
// Expected
}
@@ -119,7 +119,7 @@ MonitorMutexTest::run()
Monitor<Mutex>::TryLock lock(monitor);
test(false);
}
- catch(const LockedException&)
+ catch(const ThreadLockedException&)
{
// Expected
}