Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
lglException.hpp
00001 
00012 #ifndef LGL_LGL_EXCEPTION_HPP
00013 #define LGL_LGL_EXCEPTION_HPP
00014 
00015 #include "kernel/jafarException.hpp"
00016 
00017 namespace jafar {
00018 
00019   namespace lgl {
00020 
00026     class LglException : public ::jafar::kernel::Exception {
00027 
00028     public:
00029 
00033       enum ExceptionId {
00034         //        MY_ERROR /**< my error */
00035       };
00036 
00046       LglException(ExceptionId id_, 
00047                             const std::string& message_, 
00048                             const std::string& file_, int line_) throw();
00049 
00050       virtual ~LglException() throw();
00051 
00052       ExceptionId getExceptionId() const throw(); 
00053 
00054     protected:
00055 
00056       ExceptionId id;
00057 
00058       static std::string exceptionIdToString(ExceptionId id_) throw();
00059       
00060     }; // class LglException
00061 
00062   } // namespace lgl
00063 } // namespace jafar
00064 
00065 #endif // LGL_LGL_EXCEPTION_HPP
00066 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:24 for Jafar by doxygen 1.7.6.1
LAAS-CNRS