B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Functions
Exception.h File Reference
#include <string>
#include <sstream>
#include <stdexcept>
#include "Defs.h"
+ Include dependency graph for Exception.h:
+ This graph shows which files directly or indirectly include this file:

Classes

struct  RiskCommon::CodeLocation
 
class  RiskCommon::Exception
 
class  RiskCommon::FileNotFoundException
 
class  RiskCommon::PropertyNotFoundException
 

Namespaces

 RiskCommon
 

Macros

#define RAISE_ERROR(ExceptionType, msg,...)
 
#define SOURCE_CODE_LOCATION()   (RiskCommon::CodeLocation("", 0, ""))
 

Functions

std::ostream & RiskCommon::operator<< (std::ostream &stream, const CodeLocation &cl)
 

Macro Definition Documentation

#define RAISE_ERROR (   ExceptionType,
  msg,
  ... 
)
Value:
{ \
std::stringstream ss; ss << msg; \
throw ExceptionType(ss.str(), SOURCE_CODE_LOCATION(), ##__VA_ARGS__); \
}
#define SOURCE_CODE_LOCATION()
Definition: Exception.h:146
#define SOURCE_CODE_LOCATION ( )    (RiskCommon::CodeLocation("", 0, ""))