Mercurial > hg > orthanc
diff UnitTestsSources/MultiThreadingTests.cpp @ 1583:9ea3d082b064
got rid of custom exceptions
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Aug 2015 17:52:50 +0200 |
parents | bd1889029cbb |
children | 15acdb19d520 |
line wrap: on
line diff
--- a/UnitTestsSources/MultiThreadingTests.cpp Tue Aug 25 17:39:38 2015 +0200 +++ b/UnitTestsSources/MultiThreadingTests.cpp Tue Aug 25 17:52:50 2015 +0200 @@ -96,7 +96,7 @@ SharedMessageQueue q; q.Enqueue(new DynamicInteger(10, s)); q.Enqueue(new DynamicInteger(20, s)); - throw OrthancException(ErrorCode_Custom); + throw OrthancException(ErrorCode_InternalError); } catch (OrthancException&) {