Exotica
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 ThrowPretty(m)
 
#define ThrowNamed(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_); \
}

◆ ThrowPretty

#define ThrowPretty (   m)
Value:
{ \
std::stringstream ss; \
ss << m; \
throw exotica::Exception(ss.str(), __FILE__, __PRETTY_FUNCTION__, __LINE__); \
}
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