|
@@ -7377,7 +7377,7 @@ void CCovenSDSManager::createConnection(SessionId sessionId, unsigned mode, unsi
|
|
|
if (!queryConnection(connectionId)) // aborted
|
|
|
{
|
|
|
connectionId = 0;
|
|
|
- return;
|
|
|
+ throw MakeSDSException(SDSExcpt_AbortDuringConnection, " during connect");
|
|
|
}
|
|
|
}
|
|
|
freeExistingLocks.setConnectionId(connectionId);
|
|
@@ -7407,7 +7407,7 @@ void CCovenSDSManager::createConnection(SessionId sessionId, unsigned mode, unsi
|
|
|
if (!queryConnection(connectionId)) // aborted
|
|
|
{
|
|
|
connectionId = 0;
|
|
|
- return;
|
|
|
+ throw MakeSDSException(SDSExcpt_AbortDuringConnection, " during connect");
|
|
|
}
|
|
|
iter.setown(root->getElements(xpath+1));
|
|
|
iter->first();
|
|
@@ -7521,7 +7521,7 @@ void CCovenSDSManager::createConnection(SessionId sessionId, unsigned mode, unsi
|
|
|
if (!queryConnection(connectionId))
|
|
|
{
|
|
|
connectionId = 0;
|
|
|
- return;
|
|
|
+ throw MakeSDSException(SDSExcpt_AbortDuringConnection, " during connect");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -7538,7 +7538,7 @@ void CCovenSDSManager::createConnection(SessionId sessionId, unsigned mode, unsi
|
|
|
{
|
|
|
unlock(_tree->queryServerId(), connectionId);
|
|
|
connectionId = 0;
|
|
|
- return;
|
|
|
+ throw MakeSDSException(SDSExcpt_AbortDuringConnection, " during connect");
|
|
|
}
|
|
|
connection->setEstablished();
|
|
|
|