xlnt - community edition
Public Member Functions | List of all members
xlnt::invalid_file Class Reference

Exception for trying to open a non-XLSX file. More...

#include <exceptions.hpp>

Inheritance diagram for xlnt::invalid_file:
xlnt::exception

Public Member Functions

 invalid_file (const std::string &reason)
 Constructs an invalid_file exception thrown when attempt to access the given file, containing a description of the reason. More...
 
- Public Member Functions inherited from xlnt::exception
 exception (const std::string &message)
 Constructs an exception with a message. This message will be returned by std::exception::what(), an inherited member of this class. More...
 
void message (const std::string &message)
 Sets the message after the xlnt::exception is constructed. This can show more specific information than std::exception::what(). More...
 
const std::string & message ()
 Gets the message containing extra information. More...
 

Detailed Description

Exception for trying to open a non-XLSX file.

Constructor & Destructor Documentation

◆ invalid_file()

xlnt::invalid_file::invalid_file ( const std::string &  reason)
explicit

Constructs an invalid_file exception thrown when attempt to access the given file, containing a description of the reason.


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