EVA ICS v4 C++ SDK
Public Member Functions | Public Attributes | List of all members
eva::Exception Class Reference

#include <eva4-ffi-sdk.hpp>

Inheritance diagram for eva::Exception:
Inheritance graph
[legend]
Collaboration diagram for eva::Exception:
Collaboration graph
[legend]

Public Member Functions

 Exception (int16_t code)
 
char * what ()
 
void log ()
 
void log (string context)
 

Public Attributes

int16_t code
 

Detailed Description

The generic exception class

Constructor & Destructor Documentation

◆ Exception()

eva::Exception::Exception ( int16_t  code)
inline

Constructs an exception

Parameters
code- error code

Member Function Documentation

◆ log() [1/2]

void eva::Exception::log ( )
inline

Automatically logs the exception error to STDERR

◆ log() [2/2]

void eva::Exception::log ( string  context)
inline

Automatically logs the exception error to STDERR

Parameters
contexterror context

The documentation for this class was generated from the following file:
The official SDK for EVA ICS
Technical documentation: https://info.bma.ai/en/actual/eva4/sdk/cpp/
© Bohemia Automation / Altertech