comparison 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
comparison
equal deleted inserted replaced
1582:bd1889029cbb 1583:9ea3d082b064
94 try 94 try
95 { 95 {
96 SharedMessageQueue q; 96 SharedMessageQueue q;
97 q.Enqueue(new DynamicInteger(10, s)); 97 q.Enqueue(new DynamicInteger(10, s));
98 q.Enqueue(new DynamicInteger(20, s)); 98 q.Enqueue(new DynamicInteger(20, s));
99 throw OrthancException(ErrorCode_Custom); 99 throw OrthancException(ErrorCode_InternalError);
100 } 100 }
101 catch (OrthancException&) 101 catch (OrthancException&)
102 { 102 {
103 } 103 }
104 } 104 }