Otclient  14/8/2020
OTMLException Class Reference

All OTML errors throw this exception. More...

#include <otmlexception.h>

Inheritance diagram for OTMLException:
Collaboration diagram for OTMLException:

Public Member Functions

 OTMLException (const OTMLNodePtr &node, const std::string &error)
 
 OTMLException (const OTMLDocumentPtr &doc, const std::string &error, int line=-1)
 
virtual ~OTMLException () throw ()
 
virtual const char * what () const throw ()
 
- Public Member Functions inherited from stdext::exception
 exception ()
 
 exception (const std::string &what)
 
virtual ~exception () throw ()
 

Protected Attributes

std::string m_what
 
- Protected Attributes inherited from stdext::exception
std::string m_what
 

Detailed Description

All OTML errors throw this exception.

Definition at line 29 of file otmlexception.h.

Constructor & Destructor Documentation

◆ OTMLException() [1/2]

OTMLException::OTMLException ( const OTMLNodePtr node,
const std::string &  error 
)

Definition at line 26 of file otmlexception.cpp.

Here is the call graph for this function:

◆ OTMLException() [2/2]

OTMLException::OTMLException ( const OTMLDocumentPtr doc,
const std::string &  error,
int  line = -1 
)

Definition at line 36 of file otmlexception.cpp.

Here is the call graph for this function:

◆ ~OTMLException()

virtual OTMLException::~OTMLException ( )
throw (
)
inlinevirtual

Definition at line 34 of file otmlexception.h.

Member Function Documentation

◆ what()

virtual const char* OTMLException::what ( ) const
throw (
)
inlinevirtual

Reimplemented from stdext::exception.

Definition at line 36 of file otmlexception.h.

Member Data Documentation

◆ m_what

std::string OTMLException::m_what
protected

Definition at line 39 of file otmlexception.h.


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