FluxioException Class Reference

A base class for skill exceptions. More...

#include <RobotAPI/libraries/skills/core/error/FluxioException.h>

+ Inheritance diagram for FluxioException:

Public Member Functions

void addToContext (const std::optional< std::string > &contextItem=std::nullopt, const std::optional< std::string > &className=std::nullopt, const std::optional< std::string > &methodName=std::nullopt, const std::optional< int > &line=std::nullopt)
 
 FluxioException ()=delete
 
 FluxioException (const std::string &message, const FluxioExceptionType &type, const std::vector< std::string > &contextList={})
 
skills::manager::dto::FluxioException toManagerIce () const
 

Static Public Member Functions

static FluxioException create (const std::string &message, const FluxioExceptionType &type, const std::string &className, const char *function, int line)
 
static std::string FluxioExceptionTypeToString (const FluxioExceptionType &type)
 

Detailed Description

A base class for skill exceptions.

All skill exceptions inherit from this class

Definition at line 24 of file FluxioException.h.

Constructor & Destructor Documentation

◆ FluxioException() [1/2]

FluxioException ( )
delete
+ Here is the caller graph for this function:

◆ FluxioException() [2/2]

FluxioException ( const std::string & message,
const FluxioExceptionType & type,
const std::vector< std::string > & contextList = {} )
inline

Definition at line 34 of file FluxioException.h.

Member Function Documentation

◆ addToContext()

void addToContext ( const std::optional< std::string > & contextItem = std::nullopt,
const std::optional< std::string > & className = std::nullopt,
const std::optional< std::string > & methodName = std::nullopt,
const std::optional< int > & line = std::nullopt )

Definition at line 8 of file FluxioException.cpp.

◆ create()

FluxioException create ( const std::string & message,
const FluxioExceptionType & type,
const std::string & className,
const char * function,
int line )
static

Definition at line 31 of file FluxioException.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FluxioExceptionTypeToString()

std::string FluxioExceptionTypeToString ( const FluxioExceptionType & type)
static

Definition at line 53 of file FluxioException.cpp.

+ Here is the caller graph for this function:

◆ toManagerIce()

skills::manager::dto::FluxioException toManagerIce ( ) const

Definition at line 43 of file FluxioException.cpp.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: