fix: missing include added
[senf.git] / senf / Utils / Exception.hh
index 7db4762..0116220 100644 (file)
 #include <boost/preprocessor/cat.hpp>
 #include <boost/utility.hpp>
 #include <boost/type_traits/is_convertible.hpp>
+#include <senf/config.hh>
 
 //#include "Exception.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 
 /** \defgroup exception Exception classes
 
@@ -156,8 +157,10 @@ namespace senf {
 
         std::string what_;
     private:
-#ifdef SENF_DEBUG
+#ifdef SENF_BACKTRACE
         void addBacktrace();
+#endif
+#ifdef SENF_DEBUG
         std::string::size_type excLen_;
 #endif
     };
@@ -278,9 +281,9 @@ namespace senf {
     class SystemException : public Exception
     {
     public:
-        ///////////////////////////////////////////////////////////////////////////
+        //-////////////////////////////////////////////////////////////////////////
         ///\name Structors and default members
-        ///@{
+        //\{
 
         explicit SystemException(std::string const & descr = "" _SENF_EXC_DEBUG_ARGS);
         explicit SystemException(int code _SENF_EXC_DEBUG_ARGS);
@@ -288,8 +291,8 @@ namespace senf {
 
         virtual ~SystemException() throw();
 
-        ///@}
-        ///////////////////////////////////////////////////////////////////////////
+        //\}
+        //-////////////////////////////////////////////////////////////////////////
 
         int errorNumber() const;        ///< Error code (\c errno number)
         char const * errorString() const; ///< Error string (\c strerror() value)
@@ -314,7 +317,7 @@ namespace senf {
 
 }
 
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 #include "Exception.cci"
 //#include "Exception.ct"
 #include "Exception.cti"