Jafar
|
00001 /* $Id: traversabilityException.hpp 3816 2009-04-28 15:24:05Z njuchler $ */ 00002 00003 #ifndef TRAVERSABILITY_TRAVERSABILITY_EXCEPTION_HPP 00004 #define TRAVERSABILITY_TRAVERSABILITY_EXCEPTION_HPP 00005 00006 #include "kernel/jafarException.hpp" 00007 00008 namespace jafar { 00009 00010 namespace traversability { 00011 00017 class TraversabilityException : public ::jafar::kernel::Exception { 00018 00019 public: 00020 00024 enum ExceptionId { 00025 NO_IMAGE_WITH_SUCH_INDEX, 00026 NO_DATA_WITH_SUCH_INDEX, 00027 NO_CONVERGENCE_IN_RANSAC, 00028 }; 00029 00039 TraversabilityException(ExceptionId id_, 00040 const std::string& message_, 00041 const std::string& file_, int line_) throw(); 00042 00043 virtual ~TraversabilityException() throw(); 00044 00045 ExceptionId getExceptionId() const throw(); 00046 00047 protected: 00048 00049 ExceptionId id; 00050 00051 static std::string exceptionIdToString(ExceptionId id_) throw(); 00052 00053 }; // class TraversabilityException 00054 00055 } // namespace traversability 00056 } // namespace jafar 00057 00058 #endif // TRAVERSABILITY_TRAVERSABILITY_EXCEPTION_HPP 00059
Generated on Wed Oct 15 2014 00:37:29 for Jafar by doxygen 1.7.6.1 |