μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
MyException2 Class Reference
Inheritance diagram for MyException2:
[legend]
Collaboration diagram for MyException2:
[legend]

Public Member Functions

 MyException2 (const char *m)
 
const char * what () const noexcept override
 
 MyException2 (const char *m)
 
const char * what () const noexcept override
 

Private Attributes

std::string message = ""
 

Detailed Description

Definition at line 29 of file test_exceptions.cpp.

Constructor & Destructor Documentation

◆ MyException2() [1/2]

MyException2::MyException2 ( const char *  m)
inlineexplicit

Definition at line 31 of file test_exceptions.cpp.

◆ MyException2() [2/2]

MyException2::MyException2 ( const char *  m)
inlineexplicit

Definition at line 31 of file test_exceptions.cpp.

Member Function Documentation

◆ what() [1/2]

const char * MyException2::what ( ) const
inlineoverridenoexcept

Definition at line 32 of file test_exceptions.cpp.

References message.

Referenced by TEST_SUBMODULE().

◆ what() [2/2]

const char * MyException2::what ( ) const
inlineoverridenoexcept

Definition at line 32 of file test_exceptions.cpp.

References message.

Member Data Documentation

◆ message

std::string MyException2::message = ""
private

Definition at line 35 of file test_exceptions.cpp.

Referenced by what().


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