MADARA  3.2.3
KarlException.h
Go to the documentation of this file.
1 /* -*- C++ -*- */
2 #ifndef _MADARA_EXPRESSION_KARLEXCEPTION_H_
3 #define _MADARA_EXPRESSION_KARLEXCEPTION_H_
4 
5 #ifndef _MADARA_NO_KARL_
6 
7 #include <string>
8 #include <vector>
9 #include <stdexcept>
10 
11 namespace madara
12 {
13  namespace expression
14  {
18  class KarlException : public std::runtime_error
19  {
20  public:
24  explicit KarlException (const std::string & what)
25  : std::runtime_error (what)
26  {
27 
28  }
29  };
30  }
31 }
32 
33 #endif // _MADARA_NO_KARL_
34 
35 #endif /* _MADARA_EXPRESSION_KARLEXCEPTION_H_ */
KarlException(const std::string &what)
Constructor.
Definition: KarlException.h:24
STL namespace.
static struct madara::knowledge::tags::string_t string
An exception for unrecoverable KaRL compilation issues.
Definition: KarlException.h:18
Copyright (c) 2015 Carnegie Mellon University.