style fixes

This commit is contained in:
Guenter Obiltschnig
2016-04-16 09:49:03 +02:00
parent 7448e16b76
commit 4ee483d930
8 changed files with 28 additions and 11 deletions

View File

@@ -88,7 +88,8 @@ public:
try
{
return _nulls.at(row);
}catch (std::out_of_range& ex)
}
catch (std::out_of_range& ex)
{
throw RangeException(ex.what());
}

View File

@@ -121,7 +121,8 @@ public:
try
{
_values.at(pos) = val;
}catch (std::out_of_range&)
}
catch (std::out_of_range&)
{
throw RangeException("Invalid column number.");
}

View File

@@ -543,7 +543,8 @@ inline bool StatementImpl::isNull(std::size_t col, std::size_t row) const
try
{
return extractions().at(col)->isNull(row);
}catch (std::out_of_range& ex)
}
catch (std::out_of_range& ex)
{
throw RangeException(ex.what());
}