The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
invalid_pbl_exception Struct Reference

Exception thrown when the WML parser fails to read a .pbl file. More...

#include <manager.hpp>

Public Member Functions

 invalid_pbl_exception (const std::string &pbl_path, const std::string &msg)
 Constructor. More...
 

Public Attributes

const std::string path
 Path to the faulty .pbl file. More...
 
const std::string message
 Error message to display. More...
 

Detailed Description

Exception thrown when the WML parser fails to read a .pbl file.

Definition at line 31 of file manager.hpp.

Constructor & Destructor Documentation

invalid_pbl_exception::invalid_pbl_exception ( const std::string pbl_path,
const std::string msg 
)
inline

Constructor.

Parameters
pbl_pathPath to the faulty .pbl file.
msgAn error message to display.

Definition at line 39 of file manager.hpp.

Member Data Documentation

const std::string invalid_pbl_exception::message

Error message to display.

Definition at line 47 of file manager.hpp.

Referenced by ad_hoc_addon_fetch_session().

const std::string invalid_pbl_exception::path

Path to the faulty .pbl file.

Definition at line 44 of file manager.hpp.

Referenced by ad_hoc_addon_fetch_session().


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