Flow123d  jenkins-Flow123d-windows32-release-multijob-51
Classes | Namespaces | Macros | Functions
exceptions.hh File Reference
#include <boost/exception/all.hpp>
#include <iostream>
#include <string>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ExceptionBase
 Base of exceptions used in Flow123d. More...
 
class  EI< Tag, Type >
 
class  internal::NullOutputEnvelope< Type >
 
class  internal::ExcStream
 

Namespaces

 internal
 

Macros

#define THROW(whole_exception_expr)   BOOST_THROW_EXCEPTION( whole_exception_expr)
 Wrapper for throw. Saves the throwing point. More...
 
#define DECLARE_EXCEPTION(ExcName, Format)
 Macro for simple definition of exceptions. More...
 
#define TYPEDEF_ERR_INFO(EI_Type, Type)   typedef EI< struct EI_Type##_TAG, Type > EI_Type
 Macro to simplify declaration of error_info types. More...
 

Functions

template<class Type >
std::ostream & internal::operator<< (std::ostream &stream, const NullOutputEnvelope< Type > &value)
 
template<class T >
ExcStream & internal::operator<< (ExcStream &estream, const T &x)
 
template<class Tag , class Type , class Func >
internal::ExcStreaminternal::operator<< (internal::ExcStream &estream, typename EI< Tag, Type >::template lambda< Func > const &lambda_func)
 
 TYPEDEF_ERR_INFO (EI_XprintfHeader, std::string)
 
 TYPEDEF_ERR_INFO (EI_XprintfMessage, std::string)
 
 DECLARE_EXCEPTION (ExcXprintfMsg,<< EI_XprintfHeader::val<< EI_XprintfMessage::val)
 

Function Documentation

DECLARE_EXCEPTION ( ExcXprintfMsg  ,
<< EI_XprintfHeader::val<< EI_XprintfMessage::val   
)
TYPEDEF_ERR_INFO ( EI_XprintfHeader  ,
std::string   
)

Exception thrown in xprintf function.

TYPEDEF_ERR_INFO ( EI_XprintfMessage  ,
std::string   
)