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

Exception for xlnt::variant access More...

#include <exceptions.hpp>

Inheritance diagram for xlnt::bad_variant_access:
xlnt::exception

Public Member Functions

 bad_variant_access (variant::type expected_type, variant::type actual_type)
 Constructs a bad_variant_access exception given the mismatched types. 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 xlnt::variant access

Constructor & Destructor Documentation

◆ bad_variant_access()

xlnt::bad_variant_access::bad_variant_access ( variant::type  expected_type,
variant::type  actual_type 
)
explicit

Constructs a bad_variant_access exception given the mismatched types.


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