diff Core/SQLite/FunctionContext.cpp @ 1582:bd1889029cbb

encoding of exceptions
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Aug 2015 17:39:38 +0200
parents 3b68924ffb24
children b1291df2f780
line wrap: on
line diff
--- a/Core/SQLite/FunctionContext.cpp	Tue Aug 25 16:18:37 2015 +0200
+++ b/Core/SQLite/FunctionContext.cpp	Tue Aug 25 17:39:38 2015 +0200
@@ -64,7 +64,7 @@
     {
       if (index >= argc_)
       {
-        throw OrthancSQLiteException("Parameter out of range");
+        throw OrthancSQLiteException(ErrorCode_ParameterOutOfRange);
       }
     }