Generated on Wed Apr 29 2015 11:51:40 for GGL-4.1.2 by doxygen 1.8.3.1
Rule_GML_error.hh
Go to the documentation of this file.
1 /*
2  * Rule_GML_error.hh
3  *
4  * Created on: 29.09.2010
5  * Author: mmann
6  */
7 
8 #ifndef GGL_RULE_GML_ERROR_HH_
9 #define GGL_RULE_GML_ERROR_HH_
10 
11 #include <stdexcept>
12 #include <string>
13 
14 
15 namespace ggl {
16 
17  /*! @brief Rule parsing error
18  *
19  * Specialized error class to report GML rule parsing errors like multiple
20  * use of indices etc.
21  *
22  * @author Martin Mann (c) 2010 http://www.bioinf.uni-freiburg.de/~mmann/
23  *
24  */
25  class Rule_GML_error : public std::logic_error
26  {
27  public:
28  explicit Rule_GML_error (const std::string& what_arg)
29  : std::logic_error( what_arg )
30  {}
31  };
32 
33 
34 } // namespace gml
35 
36 #endif /* GGL_RULE_GML_ERROR_HH_ */