Alexandria 2.27.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Exceptions.h
Go to the documentation of this file.
1
19#ifndef PYSTON_EXCEPTIONS_H
20#define PYSTON_EXCEPTIONS_H
21
24
25namespace Pyston {
26
33public:
35 struct Location {
37 long lineno;
38 };
39
50 Exception();
51
53 const std::list<Location>& getTraceback() const;
54
56 const Exception& log(log4cpp::Priority::Value level, Elements::Logging& logger) const;
57
58private:
60};
61
62} // end of namespace Pyston
63
64#endif // PYSTON_EXCEPTIONS_H
static Elements::Logging logger
Logger.
Definition: Example.cpp:55
std::list< Location > m_traceback
Definition: Exceptions.h:59
const std::list< Location > & getTraceback() const
Definition: Exceptions.cpp:70
const Exception & log(log4cpp::Priority::Value level, Elements::Logging &logger) const
Log error message and traceback.
Definition: Exceptions.cpp:74
Traceback location.
Definition: Exceptions.h:35