mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-17 23:23:47 +02:00
add type diagnostics
This commit is contained in:
parent
12f61b8ccf
commit
b3704e2275
@ -58,7 +58,7 @@
|
||||
<Filter>_Suite\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\ODBCSybaseTest.h">
|
||||
<Filter>ODBC</Filter>
|
||||
<Filter>ODBC\Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@ -96,7 +96,7 @@
|
||||
<Filter>_Driver\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\ODBCSybaseTest.cpp">
|
||||
<Filter>ODBC</Filter>
|
||||
<Filter>ODBC\Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -469,9 +469,12 @@ private:
|
||||
}
|
||||
else
|
||||
{
|
||||
throw Poco::BadCastException(Poco::format("Type cast failed!\nColumn: %z\nTarget type:\t%s",
|
||||
throw Poco::BadCastException(Poco::format("Type cast failed!\nColumn: %z\nTarget type:\t%s"
|
||||
"\nTarget container type:\t%s\nSource container type:\t%s",
|
||||
pos,
|
||||
std::string(typeid(T).name())));
|
||||
std::string(typeid(T).name()),
|
||||
std::string(typeid(ExtractionVecPtr).name()),
|
||||
std::string(typeid(rExtractions[pos].get()).name())));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user