Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
jbnException.hpp
00001 /* $Id$ */
00002 
00003 #ifndef JBN_JBN_EXCEPTION_HPP
00004 #define JBN_JBN_EXCEPTION_HPP
00005 
00006 #include "kernel/jafarException.hpp"
00007 
00008 namespace jafar {
00009 
00010   namespace jbn {
00011 
00017     class JbnException : public ::jafar::kernel::Exception {
00018 
00019     public:
00020 
00024       enum ExceptionId {
00025         //        MY_ERROR /**< my error */
00026       };
00027 
00037       JbnException(ExceptionId id_, 
00038                             const std::string& message_, 
00039                             const std::string& file_, int line_) throw();
00040 
00041       virtual ~JbnException() throw();
00042 
00043       ExceptionId getExceptionId() const throw(); 
00044 
00045     protected:
00046 
00047       ExceptionId id;
00048 
00049       static std::string exceptionIdToString(ExceptionId id_) throw();
00050       
00051     }; // class JbnException
00052 
00053   } // namespace jbn
00054 } // namespace jafar
00055 
00056 #endif // JBN_JBN_EXCEPTION_HPP
00057 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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