Mercurial > hg > orthanc
diff UnitTestsSources/MultiThreadingTests.cpp @ 1582:bd1889029cbb
encoding of exceptions
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Aug 2015 17:39:38 +0200 |
parents | 9f66a12eb8fc |
children | 9ea3d082b064 |
line wrap: on
line diff
--- a/UnitTestsSources/MultiThreadingTests.cpp Tue Aug 25 16:18:37 2015 +0200 +++ b/UnitTestsSources/MultiThreadingTests.cpp Tue Aug 25 17:39:38 2015 +0200 @@ -96,7 +96,7 @@ SharedMessageQueue q; q.Enqueue(new DynamicInteger(10, s)); q.Enqueue(new DynamicInteger(20, s)); - throw OrthancException("Nope"); + throw OrthancException(ErrorCode_Custom); } catch (OrthancException&) {