Zserio C++ runtime library  1.0.2
Built for Zserio 2.14.1
zserio::CppRuntimeException Class Reference

#include <CppRuntimeException.h>

Inheritance diagram for zserio::CppRuntimeException:
Collaboration diagram for zserio::CppRuntimeException:

Public Member Functions

 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=default
 
 CppRuntimeException (const CppRuntimeException &other)=default
 
CppRuntimeExceptionoperator= (const CppRuntimeException &other)=default
 
 CppRuntimeException (CppRuntimeException &&other)=default
 
CppRuntimeExceptionoperator= (CppRuntimeException &&other)=default
 

Detailed Description

Exception thrown when an error within the Zserio C++ runtime library occurs.

Definition at line 20 of file CppRuntimeException.h.

Constructor & Destructor Documentation

◆ CppRuntimeException() [1/3]

zserio::CppRuntimeException::CppRuntimeException ( const char *  message = "")
explicit

Constructor.

Parameters
messageDescription of the error.

Definition at line 10 of file CppRuntimeException.cpp.

◆ ~CppRuntimeException()

zserio::CppRuntimeException::~CppRuntimeException ( )
overridedefault

Method generated by default.

◆ CppRuntimeException() [2/3]

zserio::CppRuntimeException::CppRuntimeException ( const CppRuntimeException other)
default

Method generated by default.

◆ CppRuntimeException() [3/3]

zserio::CppRuntimeException::CppRuntimeException ( CppRuntimeException &&  other)
default

Method generated by default.

Member Function Documentation

◆ append() [1/2]

void zserio::CppRuntimeException::append ( const char *  message)

Appends a message to the description.

Parameters
messageDescription of the error to append.

Definition at line 21 of file CppRuntimeException.cpp.

◆ append() [2/2]

void zserio::CppRuntimeException::append ( const char *  message,
size_t  messageLen 
)

Appends a message of a known length to the description.

Parameters
messageDescription of the error to append.
messageLenLength of the message.

Definition at line 28 of file CppRuntimeException.cpp.

◆ operator=() [1/2]

CppRuntimeException& zserio::CppRuntimeException::operator= ( const CppRuntimeException other)
default

Method generated by default.

◆ operator=() [2/2]

CppRuntimeException& zserio::CppRuntimeException::operator= ( CppRuntimeException &&  other)
default

Method generated by default.

◆ what()

const char * zserio::CppRuntimeException::what ( ) const
overridenoexcept

Definition at line 16 of file CppRuntimeException.cpp.


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