|
Jpp
18.6.0-rc.1
the software that should make you happy
|
Exceptions. More...
#include <exception>#include <string>#include <ostream>#include <sstream>#include <ctime>Go to the source code of this file.
Namespaces | |
| JLANG | |
| Auxiliary classes and methods for language specific functionality. | |
| JPP | |
| This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES). | |
Macros | |
| #define | MAKE_EXCEPTION(JException_t, A) JException_t(static_cast<std::ostringstream&>(JLANG::JException::getOstream() << JLANG::JException::getDateAndTime() << ' ' << __FILE__ << ':' << __LINE__ << std::endl << A).str()) |
| Make exception. More... | |
| #define | THROW(JException_t, A) do { throw MAKE_EXCEPTION(JException_t, A); } while(0) |
| Marco for throwing exception with std::ostream compatible message. More... | |
Exceptions.
Definition in file JException.hh.
| #define MAKE_EXCEPTION | ( | JException_t, | |
| A | |||
| ) | JException_t(static_cast<std::ostringstream&>(JLANG::JException::getOstream() << JLANG::JException::getDateAndTime() << ' ' << __FILE__ << ':' << __LINE__ << std::endl << A).str()) |
Make exception.
| JException_t | exception |
| A | message |
Definition at line 703 of file JException.hh.
| #define THROW | ( | JException_t, | |
| A | |||
| ) | do { throw MAKE_EXCEPTION(JException_t, A); } while(0) |
Marco for throwing exception with std::ostream compatible message.
| JException_t | exception |
| A | message |
Definition at line 712 of file JException.hh.
1.8.5