diff options
author | Don Anderson <dda@ddanderson.com> | 2014-10-23 10:45:31 -0400 |
---|---|---|
committer | Don Anderson <dda@ddanderson.com> | 2014-10-23 10:45:31 -0400 |
commit | e2ebc73274ba8bf1bf68fb9a4cd7b02b9464a6a4 (patch) | |
tree | 9bdfb3093f294421e310673843f7f035a6f120f9 /lang | |
parent | 3d3c29279730c27fc9f4df95fc3b40bb27bae99f (diff) | |
download | mongo-e2ebc73274ba8bf1bf68fb9a4cd7b02b9464a6a4.tar.gz |
Integrate new Java exception classes into java version of doc.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/java/Makefile.am | 2 | ||||
-rw-r--r-- | lang/java/wiredtiger.i | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lang/java/Makefile.am b/lang/java/Makefile.am index eb51fa43297..2d82a81f99c 100644 --- a/lang/java/Makefile.am +++ b/lang/java/Makefile.am @@ -24,10 +24,10 @@ JAVA_SRC = \ $(JAVADESTFULL)/PackOutputStream.java \ $(JAVADESTFULL)/PackUtil.java \ $(JAVADESTFULL)/Session.java \ - $(JAVADESTFULL)/WiredTigerRollbackException.java \ $(JAVADESTFULL)/WiredTigerException.java \ $(JAVADESTFULL)/WiredTigerPackingException.java \ $(JAVADESTFULL)/WiredTigerPanicException.java \ + $(JAVADESTFULL)/WiredTigerRollbackException.java \ $(JAVADESTFULL)/wiredtiger.java \ $(JAVADESTFULL)/wiredtigerConstants.java \ $(JAVADESTFULL)/wiredtigerJNI.java \ diff --git a/lang/java/wiredtiger.i b/lang/java/wiredtiger.i index 3a082ec3fb5..0e0a2bb12b1 100644 --- a/lang/java/wiredtiger.i +++ b/lang/java/wiredtiger.i @@ -94,7 +94,7 @@ static void throwWiredTigerException(JNIEnv *jenv, int err) { excep = NULL; if (err == WT_PANIC) clname = "com/wiredtiger/db/WiredTigerPanicException"; - else if (err == WT_DEADLOCK) + else if (err == WT_ROLLBACK) clname = "com/wiredtiger/db/WiredTigerRollbackException"; else clname = "com/wiredtiger/db/WiredTigerException"; |