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

Base class for all exceptions thrown by plask library. More...

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

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

Public Member Functions

 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)
 

Public Attributes

const int line
 

Detailed Description

Base class for all exceptions thrown by plask library.

Definition at line 47 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ XMLException() [1/3]

plask::XMLException::XMLException ( const XMLReader reader,
const std::string &  msg 
)
Parameters
readercurrent reader
msgerror message

Definition at line 19 of file exceptions.cpp.

◆ XMLException() [2/3]

plask::XMLException::XMLException ( const std::string &  where,
const std::string &  msg,
int  line = -1 
)
Parameters
whereindication where the error appeared
msgerror message
lineline in which the error occurred

Definition at line 26 of file exceptions.cpp.

◆ XMLException() [3/3]

plask::XMLException::XMLException ( const std::string &  msg,
int  line = -1 
)
Parameters
msgerror message
lineline in which the error occurred

Definition at line 29 of file exceptions.cpp.

Member Data Documentation

◆ line

const int plask::XMLException::line

Definition at line 49 of file exceptions.hpp.


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