Alexandria  2.27.0
SDC-CH common library for the Euclid project
Exceptions.h
Go to the documentation of this file.
1 
19 #ifndef PYSTON_EXCEPTIONS_H
20 #define PYSTON_EXCEPTIONS_H
21 
23 #include <ElementsKernel/Logging.h>
24 
25 namespace Pyston {
26 
33 public:
35  struct Location {
37  long lineno;
38  };
39 
50  Exception();
51 
53  const std::list<Location>& getTraceback() const;
54 
57 
58 private:
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
boost::variant< bool, int64_t, double, AttributeSet > Value
Definition: Node.h:88
Traceback location.
Definition: Exceptions.h:35