diff --git a/src/exceptions/JavaException.cpp b/src/exceptions/JavaException.cpp index 647e9841..ff0d172e 100644 --- a/src/exceptions/JavaException.cpp +++ b/src/exceptions/JavaException.cpp @@ -96,7 +96,7 @@ JavaException::JavaException(const std::string &message, const std::string &clas stackTrace_{std::move(stackTrace) + "\n" + stackTraceToString(boost::stacktrace::stacktrace())} { } -JavaException create(void* exceptionHandle) { +JavaException JavaException::create(void* exceptionHandle) { if (exceptionHandle == nullptr) { return JavaException("", "", ""); }