diff OrthancServer/Scheduler/ServerJob.cpp @ 1582:bd1889029cbb

encoding of exceptions
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Aug 2015 17:39:38 +0200
parents 7b6925b0890d
children 0a2ad4a6858f
line wrap: on
line diff
--- a/OrthancServer/Scheduler/ServerJob.cpp	Tue Aug 25 16:18:37 2015 +0200
+++ b/OrthancServer/Scheduler/ServerJob.cpp	Tue Aug 25 17:39:38 2015 +0200
@@ -61,7 +61,7 @@
             index[*next] <= index[*it])
         {
           // You must reorder your calls to "ServerJob::AddCommand"
-          throw OrthancException("Bad ordering of filters in a job");
+          throw OrthancException(ErrorCode_BadJobOrdering);
         }
       }
     }