PLaSK library
Loading...
Searching...
No Matches
plask::XMLNoAttrException Struct Reference

Exceptions of this class are thrown when the required attribute is not found in XML tag. More...

#include <plask/utils/xml/exceptions.hpp>

Inheritance diagram for plask::XMLNoAttrException:
[legend]
Collaboration diagram for plask::XMLNoAttrException:
[legend]

Public Member Functions

 XMLNoAttrException (const XMLReader &reader, const std::string &attr_name)
 
- Public Member Functions inherited from plask::XMLException
 XMLException (const XMLReader &reader, const std::string &msg)
 
 XMLException (const std::string &where, const std::string &msg, int line=-1)
 
 XMLException (const std::string &msg, int line=-1)
 

Additional Inherited Members

- Public Attributes inherited from plask::XMLException
const int line
 

Detailed Description

Exceptions of this class are thrown when the required attribute is not found in XML tag.

Definition at line 91 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ XMLNoAttrException()

plask::XMLNoAttrException::XMLNoAttrException ( const XMLReader reader,
const std::string &  attr_name 
)
inline
Parameters
readercurrent reader
attr_namename of required attribute

Definition at line 96 of file exceptions.hpp.


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