Stride Reference Manual  - generated for commit 9643b11
stride::util::Exception Class Reference

Basic exception class: needed to prevent clang-tidy warning "thrown exception type is not nothrow copy constructible". More...

#include <Exception.h>

Inheritance diagram for stride::util::Exception:
Inheritance graph
Collaboration diagram for stride::util::Exception:
Collaboration graph

Public Member Functions

 Exception (std::string msg)
 Straightforward constructor. More...
 
const char * what () const noexceptoverride
 Return the message. More...
 
 ~Exception () noexceptoverride=default
 Default constructor. More...
 

Private Attributes

std::string m_msg
 

Detailed Description

Basic exception class: needed to prevent clang-tidy warning "thrown exception type is not nothrow copy constructible".

Definition at line 28 of file Exception.h.

Constructor & Destructor Documentation

stride::util::Exception::Exception ( std::string  msg)
inlineexplicit

Straightforward constructor.

Definition at line 32 of file Exception.h.

stride::util::Exception::~Exception ( )
overridedefaultnoexcept

Default constructor.

Referenced by what().

Here is the caller graph for this function:

Member Function Documentation

const char* stride::util::Exception::what ( ) const
inlineoverridenoexcept

Return the message.

Definition at line 35 of file Exception.h.

References m_msg, and ~Exception().

Here is the call graph for this function:

Member Data Documentation

std::string stride::util::Exception::m_msg
private

Definition at line 41 of file Exception.h.

Referenced by what().


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