From: fps Date: Thu, 12 Sep 2013 12:09:37 +0000 (+0000) Subject: documentation X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=20a20de3ac88ba8ead8b44f3c48435059debe354;p=modules%2Fgeom.git documentation --- diff --git a/src/XAO/XAO_Exception.hxx b/src/XAO/XAO_Exception.hxx index 00f341ea8..8c9aea26a 100644 --- a/src/XAO/XAO_Exception.hxx +++ b/src/XAO/XAO_Exception.hxx @@ -11,14 +11,29 @@ 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;