μ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
MyException Class Reference
Inheritance diagram for MyException:
[legend]
Collaboration diagram for MyException:
[legend]

Public Member Functions

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

Private Attributes

std::string message = ""
 

Detailed Description

Definition at line 19 of file test_exceptions.cpp.

Constructor & Destructor Documentation

◆ MyException() [1/2]

MyException::MyException ( const char *  m)
inlineexplicit

Definition at line 21 of file test_exceptions.cpp.

◆ MyException() [2/2]

MyException::MyException ( const char *  m)
inlineexplicit

Definition at line 21 of file test_exceptions.cpp.

Member Function Documentation

◆ what() [1/2]

const char * MyException::what ( ) const
inlineoverridenoexcept

Definition at line 22 of file test_exceptions.cpp.

References message.

Referenced by TEST_SUBMODULE().

◆ what() [2/2]

const char * MyException::what ( ) const
inlineoverridenoexcept

Definition at line 22 of file test_exceptions.cpp.

References message.

Member Data Documentation

◆ message

std::string MyException::message = ""
private

Definition at line 25 of file test_exceptions.cpp.

Referenced by what().


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