sisi4s
Loading...
Searching...
No Matches
Exception.hpp File Reference
#include <string>
#include <sstream>
#include <iostream>
Include dependency graph for Exception.hpp:

Go to the source code of this file.

Classes

class  sisi4s::Exception
 
class  sisi4s::DetailedException
 

Namespaces

namespace  sisi4s
 

Macros

#define EXCEPTION(message)    sisi4s::DetailedException((message), __FILE__, __LINE__)
 
#define Assert(condition, message)    if (!(condition)) throw new EXCEPTION(message);
 

Macro Definition Documentation

◆ Assert

#define Assert (   condition,
  message 
)     if (!(condition)) throw new EXCEPTION(message);

◆ EXCEPTION

#define EXCEPTION (   message)     sisi4s::DetailedException((message), __FILE__, __LINE__)