General exception.
More...
#include <JDAQException.hh>
|
| JDAQException (const std::string &error) |
| Constructor.
|
|
| ~JDAQException () throw () |
| Destructor.
|
|
virtual const char * | what () const throw () |
| Get error message.
|
|
General exception.
Definition at line 18 of file JDAQException.hh.
◆ JDAQException()
KM3NETDAQ::JDAQException::JDAQException |
( |
const std::string & | error | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 25 of file JDAQException.hh.
25 :
26 std::exception(),
28 {}
◆ ~JDAQException()
KM3NETDAQ::JDAQException::~JDAQException |
( |
| ) |
|
throw | ( | ) | | | |
|
inline |
◆ what()
virtual const char * KM3NETDAQ::JDAQException::what |
( |
| ) |
const |
throw | ( | ) | | | |
|
inlinevirtual |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const JDAQException & | exception ) |
|
friend |
Print error message of JDAQException.
- Parameters
-
out | output stream |
exception | exception |
Definition at line 55 of file JDAQException.hh.
56 {
57 return out << exception.what();
58 }
◆ buffer
const std::string KM3NETDAQ::JDAQException::buffer |
|
private |
The documentation for this class was generated from the following file: