summaryrefslogtreecommitdiff
path: root/platform/java
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-04-18 03:52:53 +0800
committerSebastian Rasmussen <sebras@gmail.com>2017-04-18 19:39:40 +0800
commita742ac09981f7c681f63f88738e7eded95412599 (patch)
treeccdba1dbbf8b3b9107a9a973aba6d2f1333046b5 /platform/java
parent7ccd9db9aae8fb16fbd157e7ad9a7882d5d51bdc (diff)
downloadmupdf-a742ac09981f7c681f63f88738e7eded95412599.tar.xz
jni: Propagate exception message, do not override it.
Diffstat (limited to 'platform/java')
-rw-r--r--platform/java/mupdf_native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/java/mupdf_native.c b/platform/java/mupdf_native.c
index 3f211d78..2c866000 100644
--- a/platform/java/mupdf_native.c
+++ b/platform/java/mupdf_native.c
@@ -4923,7 +4923,7 @@ FUN(Page_textAsHtml)(JNIEnv *env, jobject self)
}
fz_catch(ctx)
{
- jni_throw_oom(env, "out of memory in MuPDFCore_textAsHtml");
+ jni_rethrow(env, ctx);
return NULL;
}