diff --git a/cxx-src/HaskellException.cxx b/cxx-src/HaskellException.cxx
--- a/cxx-src/HaskellException.cxx
+++ b/cxx-src/HaskellException.cxx
@@ -2,14 +2,14 @@
 #include "HaskellException.hxx"
 
 HaskellException::HaskellException(std::string renderedExceptionIn, void *haskellExceptionStablePtrIn)
-  : displayExceptionValue(renderedExceptionIn)
-  , haskellExceptionStablePtr(new HaskellStablePtr(haskellExceptionStablePtrIn))
+  : haskellExceptionStablePtr(new HaskellStablePtr(haskellExceptionStablePtrIn))
+  , displayExceptionValue(renderedExceptionIn)
 {
 }
 
 HaskellException::HaskellException(const HaskellException &other)
-  : displayExceptionValue(other.displayExceptionValue)
-  , haskellExceptionStablePtr(other.haskellExceptionStablePtr)
+  : haskellExceptionStablePtr(other.haskellExceptionStablePtr)
+  , displayExceptionValue(other.displayExceptionValue)
 {
 }
 
diff --git a/inline-c-cpp.cabal b/inline-c-cpp.cabal
--- a/inline-c-cpp.cabal
+++ b/inline-c-cpp.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                inline-c-cpp
-version:             0.4.0.0
+version:             0.4.0.1
 synopsis:            Lets you embed C++ code into Haskell.
 description:         Utilities to inline C++ code into Haskell using inline-c.  See
                      tests for example on how to build.
@@ -21,7 +21,7 @@
   exposed-modules:     Language.C.Inline.Cpp
                        Language.C.Inline.Cpp.Exceptions
   build-depends:       base >=4.7 && <5
-                     , inline-c >= 0.6.1.0
+                     , inline-c >= 0.9.0.0
                      , template-haskell
                      , safe-exceptions
                      , containers
