mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-28 07:20:33 +05:00
documentation
This commit is contained in:
parent
a0d5e8f60e
commit
20a20de3ac
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user