VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
UbException Class Reference

#include <UbException.h>

Inheritance diagram for UbException:

Public Types

using ExceptionData = UbTuple< std::string, int, std::string, std::string >
 

Public Member Functions

 UbException ()
 
 UbException (const std::string &str)
 
 UbException (const std::string &file, const int &line, const std::string &err_str)
 
 UbException (const std::string &file, const int &line, const std::string &function, const std::string &err_str)
 
 ~UbException () noexcept override=default
 
const charwhat () const noexcept override
 
virtual void addInfo (const std::string &err_str)
 
virtual void addInfo (const std::string &file, const int &line, const std::string &function, const std::string &err_str)
 
virtual const std::vector< std::string > getInfo () const
 
virtual std::string toString () const
 

Protected Attributes

std::vector< ExceptionDataexceptionData
 
std::string exceptionString
 

Detailed Description

Definition at line 81 of file UbException.h.

Member Typedef Documentation

◆ ExceptionData

using UbException::ExceptionData = UbTuple<std::string, int, std::string, std::string>

Definition at line 84 of file UbException.h.

Constructor & Destructor Documentation

◆ UbException() [1/4]

UbException::UbException ( )
inline

Definition at line 89 of file UbException.h.

◆ UbException() [2/4]

UbException::UbException ( const std::string &  str)
inline

Definition at line 91 of file UbException.h.

◆ UbException() [3/4]

UbException::UbException ( const std::string &  file,
const int line,
const std::string &  err_str 
)
inline

Definition at line 93 of file UbException.h.

◆ UbException() [4/4]

UbException::UbException ( const std::string &  file,
const int line,
const std::string &  function,
const std::string &  err_str 
)
inline

Definition at line 99 of file UbException.h.

◆ ~UbException()

UbException::~UbException ( )
overridedefaultnoexcept

Member Function Documentation

◆ addInfo() [1/2]

virtual void UbException::addInfo ( const std::string &  err_str)
inlinevirtual

Definition at line 116 of file UbException.h.

◆ addInfo() [2/2]

virtual void UbException::addInfo ( const std::string &  file,
const int line,
const std::string &  function,
const std::string &  err_str 
)
inlinevirtual

Definition at line 122 of file UbException.h.

◆ getInfo()

virtual const std::vector< std::string > UbException::getInfo ( ) const
inlinevirtual

Definition at line 129 of file UbException.h.

◆ toString()

virtual std::string UbException::toString ( ) const
inlinevirtual

Definition at line 142 of file UbException.h.

◆ what()

const char * UbException::what ( ) const
inlineoverridenoexcept

Definition at line 110 of file UbException.h.

Member Data Documentation

◆ exceptionData

std::vector<ExceptionData> UbException::exceptionData
protected

Definition at line 159 of file UbException.h.

◆ exceptionString

std::string UbException::exceptionString
mutableprotected

Definition at line 160 of file UbException.h.


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