MeVisLab Toolbox Reference
ml::XMLTreeNodeException Class Reference

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

#include <mlXMLTreeNode.h>

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

Public Member Functions

 XMLTreeNodeException (int errorCode=0, const char *msg=nullptr)
 Constructor.
 
const chargetMessage () 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)
 Creates a new exception object with code errorCode and an optional error message.
 
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.

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.


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