xlnt
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 &filename)
 Constructs an invalid_file exception thrown when attempt to access the given filename. More...
 
 invalid_file (const invalid_file &)=default
 Default copy constructor. More...
 
 ~invalid_file () override
 Destructor 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...
 
 exception (const exception &)=default
 Default copy constructor. More...
 
 ~exception () override
 Destructor 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...
 
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() [1/2]

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

Constructs an invalid_file exception thrown when attempt to access the given filename.

◆ invalid_file() [2/2]

xlnt::invalid_file::invalid_file ( const invalid_file )
default

Default copy constructor.

◆ ~invalid_file()

xlnt::invalid_file::~invalid_file ( )
override

Destructor


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