dxFeed Graal CXX API v4.0.0
Loading...
Searching...
No Matches
RuntimeException Struct Reference

A runtime axception with stacktrace. More...

#include <RuntimeException.hpp>

+ Inheritance diagram for RuntimeException:

Public Member Functions

 RuntimeException (const StringLikeWrapper &message, const StringLikeWrapper &additionalStackTrace="")
 Constructs a runtime exception.
 
const std::string & getStackTrace () const &
 

Detailed Description

A runtime axception with stacktrace.

Constructor & Destructor Documentation

◆ RuntimeException()

DXFCPP_BEGIN_NAMESPACE RuntimeException::RuntimeException ( const StringLikeWrapper & message,
const StringLikeWrapper & additionalStackTrace = "" )
explicit

Constructs a runtime exception.

Parameters
messageThe exception's message.
additionalStackTraceThe additional stacktrace that will be concatenated with current stacktrace.

References RuntimeException().

Referenced by RuntimeException().

Member Function Documentation

◆ getStackTrace()

const std::string & RuntimeException::getStackTrace ( ) const &
Returns
The current stacktrace + the additional stacktrace if present.