Zserio C++17 runtime library  1.1.0
Built for Zserio 2.18.1
zserio::BadVariantAccess Class Reference

#include <Variant.h>

Inheritance diagram for zserio::BadVariantAccess:
Collaboration diagram for zserio::BadVariantAccess:

Public Member Functions

 ~BadVariantAccess () override
 
 CppRuntimeException (const char *message="")
 
 CppRuntimeException (const CppRuntimeException &other)=default
 
 CppRuntimeException (CppRuntimeException &&other)=default
 
- Public Member Functions inherited from zserio::CppRuntimeException
 CppRuntimeException (const char *message="")
 
const char * what () const noexcept override
 
void append (const char *message)
 
void append (const char *message, size_t messageLen)
 
 ~CppRuntimeException () override
 
 CppRuntimeException (const CppRuntimeException &other)=default
 
CppRuntimeExceptionoperator= (const CppRuntimeException &other)=default
 
 CppRuntimeException (CppRuntimeException &&other)=default
 
CppRuntimeExceptionoperator= (CppRuntimeException &&other)=default
 

Detailed Description

Exception thrown when variant index doesn't match or variant is in valueless state.

Definition at line 73 of file Variant.h.

Constructor & Destructor Documentation

◆ ~BadVariantAccess()

zserio::BadVariantAccess::~BadVariantAccess ( )
overridedefault

Member Function Documentation

◆ CppRuntimeException() [1/3]

zserio::CppRuntimeException::CppRuntimeException
explicit

Constructor.

Parameters
messageDescription of the error.

Definition at line 27 of file CppRuntimeException.cpp.

◆ CppRuntimeException() [2/3]

zserio::CppRuntimeException::CppRuntimeException
default

◆ CppRuntimeException() [3/3]

zserio::CppRuntimeException::CppRuntimeException
default

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