dxFeed Graal CXX API
|
A wrapper over the interceptable Java exceptions thrown by the dxFeed Native Graal SDK. More...
#include <JavaException.hpp>
Public Member Functions | |
JavaException (const std::string &message, const std::string &className, std::string stackTrace) | |
Creates an exception using Java message, className and stack trace. | |
const std::string & | getStackTrace () const & |
Static Public Member Functions | |
static void | throwIfJavaThreadExceptionExists () |
Throws a JavaException if it exists (i.e. intercepted by Graal SDK) | |
A wrapper over the interceptable Java exceptions thrown by the dxFeed Native Graal SDK.
JavaException::JavaException | ( | const std::string & | message, |
const std::string & | className, | ||
std::string | stackTrace ) |
Creates an exception using Java message, className and stack trace.
Also uses current stack trace.
message | Java message. |
className | Java class name. |
stackTrace | Java stack trace. |
References JavaException().
Referenced by JavaException().
const std::string & JavaException::getStackTrace | ( | ) | const & |