diff options
Diffstat (limited to 'connectivity/source/drivers/firebird/Tables.cxx')
-rw-r--r-- | connectivity/source/drivers/firebird/Tables.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/firebird/Tables.cxx b/connectivity/source/drivers/firebird/Tables.cxx index dc8255dbda61..7be79b5a2d4a 100644 --- a/connectivity/source/drivers/firebird/Tables.cxx +++ b/connectivity/source/drivers/firebird/Tables.cxx @@ -51,7 +51,7 @@ ObjectType Tables::createObject(const OUString& rName) uno::Sequence< OUString >()); if (!xTables.is()) - throw RuntimeException(); + throw RuntimeException("Could not acquire table."); uno::Reference< XRow > xRow(xTables,UNO_QUERY_THROW); @@ -66,7 +66,7 @@ ObjectType Tables::createObject(const OUString& rName) xRow->getString(5))); // Description / Remarks / Comments if (xTables->next()) - throw RuntimeException(); // Only one table should be returned + throw RuntimeException("Found more tables than expected."); return xRet; } |