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

Exceptions of this class are thrown when the attribute has wrong value. More...

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

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

Public Member Functions

 XMLBadAttrException (const XMLReader &reader, const std::string &attr_name, const std::string &attr_value)
 
 XMLBadAttrException (const XMLReader &reader, const std::string &attr_name, const std::string &attr_value, const std::string &attr_required)
 
- 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 attribute has wrong value.

Definition at line 103 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ XMLBadAttrException() [1/2]

plask::XMLBadAttrException::XMLBadAttrException ( const XMLReader reader,
const std::string &  attr_name,
const std::string &  attr_value 
)
inline
Parameters
readercurrent reader
attr_namename of attribute
attr_valueillegal value of attribute

Definition at line 109 of file exceptions.hpp.

◆ XMLBadAttrException() [2/2]

plask::XMLBadAttrException::XMLBadAttrException ( const XMLReader reader,
const std::string &  attr_name,
const std::string &  attr_value,
const std::string &  attr_required 
)
inline
Parameters
readercurrent reader
attr_namename of attribute
attr_valueillegal value of attribute
attr_requiredrequired value of attribute

Definition at line 118 of file exceptions.hpp.


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