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

Exceptions of this class are thrown when illegal repetition of tag appears. More...

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

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

Public Member Functions

 XMLDuplicatedElementException (const XMLReader &reader, const std::string &duplicated)
 
 XMLDuplicatedElementException (const std::string &parent, const std::string &duplicated)
 
- 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 illegal repetition of tag appears.

Definition at line 153 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ XMLDuplicatedElementException() [1/2]

plask::XMLDuplicatedElementException::XMLDuplicatedElementException ( const XMLReader reader,
const std::string &  duplicated 
)
inline
Parameters
readercurrent reader
duplicatedname of duplicated thing

Definition at line 158 of file exceptions.hpp.

◆ XMLDuplicatedElementException() [2/2]

plask::XMLDuplicatedElementException::XMLDuplicatedElementException ( const std::string &  parent,
const std::string &  duplicated 
)
inline
Parameters
parentname of the parent tag
duplicatedname of duplicated thing

Definition at line 164 of file exceptions.hpp.


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