Project
Loading...
Searching...
No Matches
o2::rans::Exception Class Reference

#include <exceptions.h>

Inherits std::exception.

Inherited by o2::rans::CodingError, o2::rans::HistogramError, o2::rans::IOError, o2::rans::OutOfBoundsError, o2::rans::OverflowError, o2::rans::RuntimeError, and o2::rans::ValueError.

Public Member Functions

 Exception ()=default
 
 Exception (const Exception &other)=default
 
 Exception (Exception &&other)=default
 
Exceptionoperator= (const Exception &other)=default
 
Exceptionoperator= (Exception &&other)=default
 
 ~Exception () override=default
 
 Exception (const std::string &msg)
 
 Exception (const char *msg)
 
const charwhat () const noexcept override
 

Public Attributes

std::string mMsg {}
 

Detailed Description

Definition at line 24 of file exceptions.h.

Constructor & Destructor Documentation

◆ Exception() [1/5]

o2::rans::Exception::Exception ( )
default

◆ Exception() [2/5]

o2::rans::Exception::Exception ( const Exception other)
default

◆ Exception() [3/5]

o2::rans::Exception::Exception ( Exception &&  other)
default

◆ ~Exception()

o2::rans::Exception::~Exception ( )
overridedefault

◆ Exception() [4/5]

o2::rans::Exception::Exception ( const std::string &  msg)
inline

Definition at line 34 of file exceptions.h.

◆ Exception() [5/5]

o2::rans::Exception::Exception ( const char msg)
inline

Definition at line 35 of file exceptions.h.

Member Function Documentation

◆ operator=() [1/2]

Exception & o2::rans::Exception::operator= ( const Exception other)
default

◆ operator=() [2/2]

Exception & o2::rans::Exception::operator= ( Exception &&  other)
default

◆ what()

const char * o2::rans::Exception::what ( ) const
inlineoverridenoexcept

Definition at line 37 of file exceptions.h.

Member Data Documentation

◆ mMsg

std::string o2::rans::Exception::mMsg {}

Definition at line 42 of file exceptions.h.


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