At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel
------------------------------------------------------------
revno: 415
revision-id:mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: devel
timestamp: Sat 2008-01-19 19:33:44 -0500
message:
Throw NdbMgmException instead of NdbApiException
modified:
interface/mgmapi/NdbLogEventManager.i
ndbmgmlogeventhandle-20070906065939-pj4qrhof8kkzg3d1-1
=== modified file 'interface/mgmapi/NdbLogEventManager.i'
--- a/interface/mgmapi/NdbLogEventManager.i 2007-12-06 08:07:23 +0000
+++ b/interface/mgmapi/NdbLogEventManager.i 2008-01-20 00:33:44 +0000
@@ -60,7 +60,7 @@
%ndbexception("NdbMgmException") {
$action
if (result < 0) {
- NDB_exception(NdbApiException,"Must deregister handler before adding a new one");
+ NDB_exception(NdbMgmException,"Must deregister handler before adding a new one");
}
}
int registerListener(NdbLogEventTypeListener * listener);
@@ -70,7 +70,7 @@
%ndbexception("NdbMgmException") {
$action
if (result->ret < 0) {
- NDB_exception(NdbApiException,arg1->getMgmError());
+ NDB_exception(NdbMgmException,arg1->getMgmError());
}
}
BaseEventWrapper * getLogEvent(unsigned timeout_in_milliseconds);
@@ -78,7 +78,7 @@
%ndbexception("NdbMgmException") {
$action
if (result < 0) {
- NDB_exception(NdbApiException,arg1->getMgmError());
+ NDB_exception(NdbMgmException,arg1->getMgmError());
}
}
int pollEvents(unsigned timeout_in_milliseconds);
| Thread |
|---|
| • Rev 415: Throw NdbMgmException instead of NdbApiException in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel | Monty Taylor | 20 Jan |