StormByte C++ Library: System module 0.0.9999
StormByte-System is a StormByte library module for encapsulating different process handling over different operating system's complexities
Loading...
Searching...
No Matches
Public Member Functions | List of all members
StormByte::System::Exception Class Reference

Exception base class for System. More...

#include <exception.hxx>

Inheritance diagram for StormByte::System::Exception:
Inheritance graph
[legend]
Collaboration diagram for StormByte::System::Exception:
Collaboration graph
[legend]

Public Member Functions

 Exception (const std::string &message)
 
 Exception (const Exception &)=default
 
 Exception (Exception &&) noexcept=default
 
Exceptionoperator= (const Exception &)=default
 
Exceptionoperator= (Exception &&) noexcept=default
 
virtual ~Exception () noexcept override=default
 

Detailed Description

Exception base class for System.

The purpose of this class is to handle a generic exception for all the StormByte library and also to cover the Windows/Linux differences in exception handling, specially in passing std::string across library boundaries handling the const char* memory management.

Constructor & Destructor Documentation

◆ Exception() [1/3]

StormByte::System::Exception::Exception ( const std::string &  message)

Constructor

Parameters
messagemessage

◆ Exception() [2/3]

StormByte::System::Exception::Exception ( const Exception )
default

Copy constructor

◆ Exception() [3/3]

StormByte::System::Exception::Exception ( Exception &&  )
defaultnoexcept

Move constructor

◆ ~Exception()

virtual StormByte::System::Exception::~Exception ( )
overridevirtualdefaultnoexcept

Destructor

Member Function Documentation

◆ operator=() [1/2]

Exception & StormByte::System::Exception::operator= ( const Exception )
default

Assignment operator

◆ operator=() [2/2]

Exception & StormByte::System::Exception::operator= ( Exception &&  )
defaultnoexcept

Move operator


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