VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
UbException.h File Reference
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
#include "./UbTuple.h"

Go to the source code of this file.

Classes

class  UbException
 

Macros

#define UB_FUNCTION   "(unknown)"
 UbException usage: UB_THROW( UbException("error message") ); UB_THROW( UbException(FILE, LINE,"error message") ); UB_THROW( UbException(FILE, LINE,UB_FUNCTION,"error message") ); UB_THROW( UbException(UB_EXARGS,"error") ); //same as above.
 
#define UB_EXARGS   __FILE__, __LINE__, UB_FUNCTION
 
#define UB_THROW(e)   throw e
 

Functions

std::ostreamoperator<< (std::ostream &os, const UbException &e)