PLaSK library
Loading...
Searching...
No Matches
plask::XMLUnexpectedAttrException 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::XMLUnexpectedAttrException:
[legend]
Collaboration diagram for plask::XMLUnexpectedAttrException:
[legend]

Public Member Functions

 XMLUnexpectedAttrException (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 79 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ XMLUnexpectedAttrException()

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

Definition at line 84 of file exceptions.hpp.


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