summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/Table.cxx2
-rw-r--r--connectivity/source/drivers/firebird/Tables.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/firebird/Table.cxx b/connectivity/source/drivers/firebird/Table.cxx
index df523235e2ac..0220a8458264 100644
--- a/connectivity/source/drivers/firebird/Table.cxx
+++ b/connectivity/source/drivers/firebird/Table.cxx
@@ -225,7 +225,7 @@ void SAL_CALL Table::alterColumnByName(const OUString& rColName,
// ----- XRename --------------------------------------------------------------
void SAL_CALL Table::rename(const OUString&)
{
- throw RuntimeException(); // Firebird doesn't support this.
+ throw RuntimeException("Table renaming not supported by Firebird.");
}
// ----- XInterface -----------------------------------------------------------
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;
}