Skip to content

Commit

Permalink
upgrade gluten throw exception
Browse files Browse the repository at this point in the history
  • Loading branch information
summaryzb committed Nov 20, 2023
1 parent 871a15c commit e96f2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/core/jni/JniWrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ JNIEXPORT jlong JNICALL Java_io_glutenproject_vectorized_ShuffleWriterJniWrapper
}
JavaVM* vm;
if (env->GetJavaVM(&vm) != JNI_OK) {
gluten::jniThrow("Unable to get JavaVM instance");
throw gluten::GlutenException("Unable to get JavaVM instance");
}
// rename CelebornClient RssClient
std::shared_ptr<CelebornClient> celebornClient =
Expand Down

0 comments on commit e96f2db

Please sign in to comment.