]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
documentation
authorfps <fps@opencascade.com>
Thu, 12 Sep 2013 12:09:37 +0000 (12:09 +0000)
committerfps <fps@opencascade.com>
Thu, 12 Sep 2013 12:09:37 +0000 (12:09 +0000)
src/XAO/XAO_Exception.hxx

index 00f341ea8d104b461652c2ea1aa0718227ae207b..8c9aea26ad12bde0010cebffea702ad895a9cc7e 100644 (file)
 namespace XAO
 {
 
+    /**
+     * \class XAO_Exception
+     * Exception for XAO operations.
+     */
     class XAO_Exception : public std::exception
     {
     public:
+        /**
+         * Default constructor.
+         * @param message the exception message.
+         */
         XAO_Exception(const char* message) : m_message(message)
         {
         }
 
-        virtual const char* what() const throw () { return m_message; }
+        /**
+         * Returns the error message.
+         * @return the error message.
+         */
+        virtual const char* what() const throw ()
+        {
+            return m_message;
+        }
 
     private:
         const char* m_message;