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