comparison 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
comparison
equal deleted inserted replaced
1581:357c4bb15701 1582:bd1889029cbb
62 62
63 void FunctionContext::CheckIndex(unsigned int index) const 63 void FunctionContext::CheckIndex(unsigned int index) const
64 { 64 {
65 if (index >= argc_) 65 if (index >= argc_)
66 { 66 {
67 throw OrthancSQLiteException("Parameter out of range"); 67 throw OrthancSQLiteException(ErrorCode_ParameterOutOfRange);
68 } 68 }
69 } 69 }
70 70
71 ColumnType FunctionContext::GetColumnType(unsigned int index) const 71 ColumnType FunctionContext::GetColumnType(unsigned int index) const
72 { 72 {