#include <exception>
#include <string>
#include <ostream>
#include <sstream>
Go to the source code of this file.
|
#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...
|
|
#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_t | exception |
A | message |
Definition at line 84 of file Exception.hh.