ug4
error.h File Reference
#include "common/common.h"
#include "common/error.h"

Go to the source code of this file.

Classes

struct  ug::bridge::UGRegistryError
 

Namespaces

 ug
 the ug namespace
 
 ug::bridge
 

Macros

#define UG_THROW_REGISTRY_ERROR(cls, msg)
 
#define UG_THROW_REGISTRY_MSG(msg)
 

Macro Definition Documentation

◆ UG_THROW_REGISTRY_ERROR

#define UG_THROW_REGISTRY_ERROR (   cls,
  msg 
)
Value:
{ug_throw_error(); std::stringstream ss; ss << msg; \
throw(ug::bridge::UGRegistryError((cls),ss.str(),\
__FILE__,__LINE__));}
void ug_throw_error()
called whenever UG_THROW or UG_THROW_REGISTRY_ERROR is called.
Definition: assert.cpp:164
Definition: error.h:46

◆ UG_THROW_REGISTRY_MSG

#define UG_THROW_REGISTRY_MSG (   msg)
Value:
{ug_throw_error(); std::stringstream ss; ss << msg; \
throw(ug::bridge::UGRegistryError(ss.str(),\
__FILE__,__LINE__));}