PLaSK library

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
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

  reader | current reader
  msg | error 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

  where | indication where the error appeared
  msg | error message
  line | line 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

  msg | error message
  line | line 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:

- plask/utils/xml/exceptions.hpp
- plask/utils/xml/exceptions.cpp