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

Exceptions of this class are thrown if two optional attributes in XML conflict with each other. More...

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

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

Public Member Functions

 XMLConflictingAttributesException (const XMLReader &reader, const std::string &attr1, const std::string &attr2)
 
- 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 if two optional attributes in XML conflict with each other.

Definition at line 171 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ XMLConflictingAttributesException()

plask::XMLConflictingAttributesException::XMLConflictingAttributesException ( const XMLReader reader,
const std::string &  attr1,
const std::string &  attr2 
)
inline
Parameters
readercurrent reader
attr1first attribute name
attr2second attribute name

Definition at line 177 of file exceptions.hpp.


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