List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:May 5 2007 6:54am
Subject:Rev 101: Cleaned up the java exception specifications. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/exceptions
View as plain text  
------------------------------------------------------------
revno: 101
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: exceptions
timestamp: Fri 2007-05-04 23:53:53 -0700
message:
  Cleaned up the java exception specifications.
modified:
  swig/NdbClusterConnection.i    ndb_cluster_connecti-20070228021421-qkr4cbpxymyqdrf3-6
  swig/NdbFactory.i              ndbfactory.i-20070427052328-bwn5ewzrbigsg9v5-1
  swig/NdbIndexOperation.i       ndbindexoperation.i-20070426125056-cdc2fzutv5osp12a-1
  swig/NdbOperation.i            ndboperation.i-20070228021421-qkr4cbpxymyqdrf3-3
  swig/NdbScanOperation.i        ndbscanoperation.i-20070228021421-qkr4cbpxymyqdrf3-5
  swig/NdbTransaction.i          ndbtransaction.i-20070227184716-ecjyhh3jgvmye4de-7
=== modified file 'swig/NdbClusterConnection.i'
--- a/swig/NdbClusterConnection.i	2007-05-05 06:47:00 +0000
+++ b/swig/NdbClusterConnection.i	2007-05-05 06:53:53 +0000
@@ -64,7 +64,7 @@
   int connect(int no_retries=0, int retry_delay_in_seconds=1, int verbose=0);
 
 #if defined(SWIGJAVA)
-  %javaexception("com.mysql.cluster.ndbapi.NdbApiException") {
+  %javaexception("NdbApiException") {
 #else
   %exception {
 #endif
@@ -83,7 +83,7 @@
 %extend Ndb_cluster_connection {
 public:
 #if defined(SWIGJAVA)
-  %javaexception("com.mysql.cluster.ndbapi.NdbApiException") getNdb {
+  %javaexception("NdbApiException") getNdb {
 #else
   %exception getNdb {
 #endif

=== modified file 'swig/NdbFactory.i'
--- a/swig/NdbFactory.i	2007-05-04 20:45:38 +0000
+++ b/swig/NdbFactory.i	2007-05-05 06:53:53 +0000
@@ -50,7 +50,7 @@
   ~NdbFactory();
 public:
 #if defined(SWIGJAVA)
-  %javaexception("com.mysql.cluster.ndbapi.NdbApiException") {
+  %javaexception("NdbApiException") {
 #else
   %exception {
 #endif

=== modified file 'swig/NdbIndexOperation.i'
--- a/swig/NdbIndexOperation.i	2007-05-04 20:45:38 +0000
+++ b/swig/NdbIndexOperation.i	2007-05-05 06:53:53 +0000
@@ -18,7 +18,7 @@
 public:
 
 #if defined(SWIGJAVA)
-  %javaexception("com.mysql.cluster.ndbapi.NdbApiException") {
+  %javaexception("NdbApiException") {
 #else
   %exception { // this applies to everything until we clear it
 #endif
@@ -40,7 +40,7 @@
   int interpretedDeleteTuple();
   
 #if defined(SWIGJAVA)
-  %javaexception("com.mysql.cluster.ndbapi.NdbApiException") {
+  %javaexception("NdbApiException") {
 #else
   %exception { // this applies to everything until we clear it
 #endif

=== modified file 'swig/NdbOperation.i'
--- a/swig/NdbOperation.i	2007-05-04 20:45:38 +0000
+++ b/swig/NdbOperation.i	2007-05-05 06:53:53 +0000
@@ -148,7 +148,7 @@
   Uint32 getPartitionId() const;
 
 #if defined(SWIGJAVA)
-  %javaexception("com.mysql.cluster.ndbapi.NdbApiException") {
+  %javaexception("NdbApiException") {
 #else
   %exception { 
 #endif
@@ -166,7 +166,7 @@
   virtual NdbBlob* getBlobHandle(Uint32 anAttrId);
 
 #if defined(SWIGJAVA)
-  %javaexception("com.mysql.cluster.ndbapi.NdbApiException") {
+  %javaexception("NdbApiException") {
 #else
   %exception { // this applies to everything until we clear it
 #endif
@@ -308,9 +308,9 @@
   int  equal(Uint32 anAttrId, Uint64 aValue);
 
 #if defined(SWIGJAVA)
-  %javaexception;
+  %nojavaexception;
 #else
-  %exception; // clear exception handler
+  %noexception; // clear exception handler
 #endif
 
 
@@ -334,7 +334,7 @@
   }
 
 #if defined(SWIGJAVA)
-  %javaexception("com.mysql.cluster.ndbapi.NdbApiException") {
+  %javaexception("NdbApiException") {
 #else
   %exception { // this applies to everything until we clear it
 #endif
@@ -366,9 +366,9 @@
   }
 */
 #if defined(SWIGJAVA)
-  %javaexception;
+  %nojavaexception;
 #else
-  %exception; // clear exception handler
+  %noexception; // clear exception handler
 #endif
 
 

=== modified file 'swig/NdbScanOperation.i'
--- a/swig/NdbScanOperation.i	2007-05-04 20:45:38 +0000
+++ b/swig/NdbScanOperation.i	2007-05-05 06:53:53 +0000
@@ -28,7 +28,7 @@
 public:
 
 #if defined(SWIGJAVA)
-  %javaexception("com.mysql.cluster.ndbapi.NdbApiException") {
+  %javaexception("NdbApiException") {
 #else
   %exception { // this applies to everything until we clear it
 #endif
@@ -47,7 +47,7 @@
   int restart(bool forceSend = false);
 
 #if defined(SWIGJAVA)
-  %javaexception("com.mysql.cluster.ndbapi.NdbApiException") {
+  %javaexception("NdbApiException") {
 #else
   %exception { // this applies to everything until we clear it
 #endif

=== modified file 'swig/NdbTransaction.i'
--- a/swig/NdbTransaction.i	2007-05-05 06:47:00 +0000
+++ b/swig/NdbTransaction.i	2007-05-05 06:53:53 +0000
@@ -29,7 +29,7 @@
   const NdbError & getNdbError() const;
 
 #if defined(SWIGJAVA)
-  %javaexception("com.mysql.cluster.ndbapi.NdbApiException") {
+  %javaexception("NdbApiException") {
 #else
   %exception {
 #endif
@@ -50,7 +50,7 @@
   NdbOperation*	getNdbErrorOperation();
 
 #if defined(SWIGJAVA)
-  %javaexception("com.mysql.cluster.ndbapi.NdbApiException") {
+  %javaexception("NdbApiException") {
 #else
   %exception {
 #endif

Thread
Rev 101: Cleaned up the java exception specifications. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/exceptionsMonty Taylor5 May