summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-22 21:02:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-22 21:40:40 +0100
commita3b3c5fcd7efd3e33a0f0078bd6fd23689c45c41 (patch)
treeea51355dc2d86c6248d517480fda0ebfa9a8eb17
parentbfec304e86e8ffd258e99ffa3efbbfe1167486bc (diff)
Related: tdf#101057 inherit MalformedVersionException from std::exception
so we don't get std::terminate on MacOSX if its thrown up to JavaVirtualMachine::getJavaVM Change-Id: I1c6b79bf16cbaa66b8f79d495239e301d3ca58de
-rw-r--r--jvmfwk/inc/vendorbase.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmfwk/inc/vendorbase.hxx b/jvmfwk/inc/vendorbase.hxx
index da8a3e750df6..8f4fab589b04 100644
--- a/jvmfwk/inc/vendorbase.hxx
+++ b/jvmfwk/inc/vendorbase.hxx
@@ -82,7 +82,7 @@ OpenJDK at least, but probably not true for Lemotes JDK */
#endif // SPARC, INTEL, POWERPC, MIPS, MIPS64, ARM, IA64, M68K, HPPA, ALPHA
-class MalformedVersionException
+class MalformedVersionException : public std::exception
{
public:
MalformedVersionException();