Jpp  15.0.1-rc.2-highQE
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros
Exception.hh File Reference
#include <exception>
#include <string>
#include <ostream>
#include <sstream>

Go to the source code of this file.

Classes

class  Exception
 General exception. More...
 

Macros

#define THROW(Exception_t, A)   do { throw Exception_t(static_cast<std::ostringstream&>(Exception::getOstream() << __FILE__ << ':' << __LINE__ << std::endl << A).str()); } while(0)
 Marco for throwing exception with std::ostream compatible message. More...
 

Macro Definition Documentation

#define THROW (   Exception_t,
  A 
)    do { throw Exception_t(static_cast<std::ostringstream&>(Exception::getOstream() << __FILE__ << ':' << __LINE__ << std::endl << A).str()); } while(0)

Marco for throwing exception with std::ostream compatible message.

Parameters
Exception_texception
Amessage

Definition at line 84 of file Exception.hh.