MeVisLab Toolbox Reference
ml::XMLTreeNodeException Class Reference

#include <mlXMLTreeNode.h>

Inheritance diagram for ml::XMLTreeNodeException:
ml::TreeNodeException

Public Member Functions

 XMLTreeNodeException (int errorCode=0, const char *msg=nullptr)
 Constructor.
const char * getMessage () const override
 Returns an error message containing error code and message (if present).
Public Member Functions inherited from ml::TreeNodeException
 TreeNodeException (int errorCode=0, const char *msg=nullptr)
virtual ~TreeNodeException ()
 Destructor.
int getCode () const
 Returns the error code.

Additional Inherited Members

Protected Attributes inherited from ml::TreeNodeException
int _errorCode
 The error code of the exception.

Detailed Description

The XMLTreeNodeException class extends the exceptions already provided by class TreeNodeException.

Definition at line 53 of file mlXMLTreeNode.h.

Constructor & Destructor Documentation

◆ XMLTreeNodeException()

ml::XMLTreeNodeException::XMLTreeNodeException ( int errorCode = 0,
const char * msg = nullptr )

Constructor.

Referenced by getMessage().

Member Function Documentation

◆ getMessage()

const char * ml::XMLTreeNodeException::getMessage ( ) const
overridevirtual

Returns an error message containing error code and message (if present).

The pointer is guaranteed to be valid at least until the exception object from which it is obtained is destroyed

Reimplemented from ml::TreeNodeException.

References XMLTreeNodeException().


The documentation for this class was generated from the following file: