Skip to content

Commit

Permalink
[JVMFinder] raise correct exception
Browse files Browse the repository at this point in the history
marscher committed Oct 29, 2014
1 parent 2be8b95 commit 33e08a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jpype/_jvmfinder.py
Original file line number Diff line number Diff line change
@@ -129,7 +129,7 @@ def get_jvm_path(self):
return jvm

else:
raise ValueError("No JVM shared library file ({0}) found. "
raise JVMNotFoundException("No JVM shared library file ({0}) found. "
"Try setting up the JAVA_HOME environment "
"variable properly.".format(self._libfile))

0 comments on commit 33e08a1

Please sign in to comment.