|
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 <BDSException.hh>


Public Member Functions | |
| BDSException (const std::string &messageIn) noexcept | |
| BDSException (const std::string &nameIn, const std::string &messageIn) noexcept | |
| BDSException (const BDSException &other) noexcept | |
| const char * | what () const noexcept override |
| Override message in std::exception. | |
| void | SetName (const std::string &nameIn) |
| Allow setting of name later. | |
| void | AppendToMessage (const std::string &messageIn) |
Data Fields | |
| std::string | name |
| Data to print. | |
| std::string | message |
| Data to print. | |
| std::string | completeString |
| Data to print. | |
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 33 of file BDSException.hh.
|
inlineexplicitnoexcept |
Definition at line 36 of file BDSException.hh.
|
inlinenoexcept |
Definition at line 41 of file BDSException.hh.
|
inlinenoexcept |
Definition at line 46 of file BDSException.hh.
|
inlinevirtual |
Definition at line 51 of file BDSException.hh.
|
inline |
Definition at line 59 of file BDSException.hh.
|
inline |
Allow setting of name later.
Definition at line 58 of file BDSException.hh.
References completeString, message, and name.
Referenced by BDSApertureInfo::CheckApertureInfo().

|
inlineoverridenoexcept |
Override message in std::exception.
Definition at line 54 of file BDSException.hh.
References completeString, message, and name.
Referenced by BDSLinkDetectorConstruction::AddLinkCollimatorJaw(), BDSLinkDetectorConstruction::AddLinkCollimatorTipJaw(), BDSLinkDetectorConstruction::AddLinkElement(), BDSScorerInfo::BDSScorerInfo(), BDSIMLink::BeamOn(), BDSLinkPrimaryGeneratorAction::GeneratePrimaries(), and BDSPrimaryGeneratorAction::GeneratePrimaries().

| std::string BDSException::completeString |
| std::string BDSException::message |
| std::string BDSException::name |