|
dxFeed Graal CXX API v4.3.1
|
A wrapper over the interceptable Java exceptions thrown by the dxFeed Native Graal SDK. More...
#include <JavaException.hpp>
Inheritance diagram for JavaException:Public Member Functions | |
| JavaException (const StringLikeWrapper &message, const StringLikeWrapper &className, const StringLikeWrapper &stackTrace) | |
| Creates an exception using Java message, className and stack trace. | |
Public Member Functions inherited from RuntimeException | |
| RuntimeException (const StringLikeWrapper &message, const StringLikeWrapper &additionalStackTrace="") | |
| Constructs a runtime exception. | |
| const std::string & | getStackTrace () const & |
Static Public Member Functions | |
| static JavaException | create (void *exceptionHandle) |
| Creates an exception using native (GraalVM) Java exception handle. | |
| 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.
| DXFCPP_BEGIN_NAMESPACE JavaException::JavaException | ( | const StringLikeWrapper & | message, |
| const StringLikeWrapper & | className, | ||
| const StringLikeWrapper & | 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 create(), and JavaException().
|
static |
Creates an exception using native (GraalVM) Java exception handle.
| exceptionHandle | The native Java exception handle. |
References JavaException().
Referenced by throwIfJavaThreadExceptionExists().