xlnt
Public Member Functions | List of all members
xlnt::invalid_attribute Class Reference

Exception when setting a class's attribute to an invalid value More...

#include <exceptions.hpp>

Inheritance diagram for xlnt::invalid_attribute:
xlnt::exception

Public Member Functions

 invalid_attribute (const char *optional_message=nullptr)
 Constructor. More...
 
 invalid_attribute (const invalid_attribute &)=default
 Default copy constructor. More...
 
 ~invalid_attribute () 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 when setting a class's attribute to an invalid value

Constructor & Destructor Documentation

◆ invalid_attribute() [1/2]

xlnt::invalid_attribute::invalid_attribute ( const char *  optional_message = nullptr)
explicit

Constructor.

◆ invalid_attribute() [2/2]

xlnt::invalid_attribute::invalid_attribute ( const invalid_attribute )
default

Default copy constructor.

◆ ~invalid_attribute()

xlnt::invalid_attribute::~invalid_attribute ( )
override

Destructor


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