dxFeed Graal CXX API v9.0.0
Loading...
Searching...
No Matches
GraalException Struct Reference

The wrapper over CEntryPointErrorsEnum, the error code returned by GraalVM. More...

#include <GraalException.hpp>

Inheritance diagram for GraalException:

Public Member Functions

 GraalException (CEntryPointErrorsEnum entryPointErrorsEnum)
 Constructs an exception.
 GraalException (CEntryPointErrorsEnum entryPointErrorsEnum, const std::string &details)
 Constructs an exception of the failed creation of the GraalVM isolate.
Public Member Functions inherited from RuntimeException
 RuntimeException (StringParam message, StringParam additionalStackTrace="")
 Constructs a runtime exception.
const std::string & getStackTrace () const &
 Returns the stacktrace.

Detailed Description

The wrapper over CEntryPointErrorsEnum, the error code returned by GraalVM.

Constructor & Destructor Documentation

◆ GraalException() [1/2]

GraalException::GraalException ( CEntryPointErrorsEnum entryPointErrorsEnum)
explicit

Constructs an exception.

Parameters
entryPointErrorsEnumThe error code returned by GraalVM.

◆ GraalException() [2/2]

GraalException::GraalException ( CEntryPointErrorsEnum entryPointErrorsEnum,
const std::string & details )

Constructs an exception of the failed creation of the GraalVM isolate.

The message has the code, its text and the details.

Parameters
entryPointErrorsEnumThe error code returned by GraalVM, or the code of the failure of the isolate arguments.
detailsThe reason of the failure. It must not contain the values of the isolate arguments.