Classes | Namespaces | Macros | Functions
exception.h File Reference
#include <exception>
#include <sstream>
Include dependency graph for exception.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  exotica::Exception
 
class  exotica::SolveException
 

Namespaces

 exotica
 

Macros

#define ThrowNamed(m)
 
#define ThrowPretty(m)
 

Functions

Exception::ReportingType exotica::operator| (Exception::ReportingType a, Exception::ReportingType b) noexcept
 

Macro Definition Documentation

◆ ThrowNamed

#define ThrowNamed (   m)
Value:
{ \
std::stringstream ss; \
ss << m; \
throw exotica::Exception(ss.str(), __FILE__, __PRETTY_FUNCTION__, __LINE__, this->object_name_); \
}

Definition at line 42 of file exception.h.

◆ ThrowPretty

#define ThrowPretty (   m)
Value:
{ \
std::stringstream ss; \
ss << m; \
throw exotica::Exception(ss.str(), __FILE__, __PRETTY_FUNCTION__, __LINE__); \
}

Definition at line 36 of file exception.h.

exotica::Exception
Definition: exception.h:51
__PRETTY_FUNCTION__
#define __PRETTY_FUNCTION__
A set of debugging tools: basically these provide easy ways of checking code execution through std::c...
Definition: printable.h:43


exotica_core
Author(s): Yiming Yang, Michael Camilleri
autogenerated on Fri Aug 2 2024 08:43:02