BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
General exception with possible name of object and message. More...
#include <RBDSException.hh>
Public Member Functions | |
RBDSException (const std::string &messageIn) noexcept | |
RBDSException (const std::string &nameIn, const std::string &messageIn) noexcept | |
RBDSException (const RBDSException &other) noexcept | |
const char * | what () const noexcept override |
Override message in std::exception. More... | |
void | SetName (const std::string &nameIn) |
Allow setting of name later. More... | |
void | AppendToMessage (const std::string &messageIn) |
Data Fields | |
std::string | name |
Data to print. More... | |
std::string | message |
Data to print. More... | |
std::string | completeString |
Data to print. More... | |
General exception with possible name of object and message.
Provide optional name of object the message is associated with. This Can be appended later with SetName() function.
Definition at line 34 of file RBDSException.hh.
|
inlineexplicitnoexcept |
Definition at line 37 of file RBDSException.hh.
|
inlinenoexcept |
Definition at line 42 of file RBDSException.hh.
|
inlinenoexcept |
Definition at line 47 of file RBDSException.hh.
|
inlinevirtual |
Definition at line 52 of file RBDSException.hh.
|
inline |
Definition at line 60 of file RBDSException.hh.
|
inline |
Allow setting of name later.
Definition at line 59 of file RBDSException.hh.
References completeString, message, and name.
|
inlineoverridenoexcept |
Override message in std::exception.
Definition at line 55 of file RBDSException.hh.
References completeString, message, and name.
std::string RBDSException::completeString |
std::string RBDSException::message |
std::string RBDSException::name |