Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
ODemo::Exception Class Reference

Simple Exception root class. More...

#include <Exception.h>

Inheritance diagram for ODemo::Exception:
Inheritance graph
Collaboration diagram for ODemo::Exception:
Collaboration graph

Public Member Functions

 Exception (std::string m)
 Constructor initializes message for the exception. More...
 
 Exception (const Exception &e)
 Copy constructor. More...
 
 Exception (Exception &&e) noexcept
 Move Constructor. More...
 
const char * what () const noexceptoverride
 Return message text. More...
 
virtual void info () const
 Get info. More...
 

Private Attributes

std::string m_message
 

Detailed Description

Simple Exception root class.

Definition at line 14 of file objtracer/Exception.h.

Constructor & Destructor Documentation

ODemo::Exception::Exception ( std::string  m)
explicit

Constructor initializes message for the exception.

Definition at line 14 of file Exception.cpp.

References COMP_MISC_MEMBER_TRACER.

ODemo::Exception::Exception ( const Exception e)

Copy constructor.

Definition at line 16 of file Exception.cpp.

References COMP_MISC_MEMBER_TRACER.

ODemo::Exception::Exception ( Exception &&  e)
noexcept

Move Constructor.

Definition at line 18 of file Exception.cpp.

References COMP_MISC_MEMBER_TRACER.

Member Function Documentation

const char * ODemo::Exception::what ( ) const
overridenoexcept

Return message text.

Definition at line 20 of file Exception.cpp.

References COMP_MISC_MEMBER_TRACER, and m_message.

Referenced by app_exception().

Here is the caller graph for this function:

void ODemo::Exception::info ( ) const
virtual

Get info.

Reimplemented in ODemo::SailingException, ODemo::LoadingException, and ODemo::MotionException.

Definition at line 26 of file Exception.cpp.

References COMP_MISC_MEMBER_TRACER.

Referenced by app_exception().

Here is the caller graph for this function:

Member Data Documentation

std::string ODemo::Exception::m_message
private

Definition at line 33 of file objtracer/Exception.h.

Referenced by what().


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