![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Exception type for assertion failures This class captures the information available to the throw_assert macro. More...
#include <acts/blob/master/Core/include/Acts/Utilities/ThrowAssert.hpp>
Inheritance diagram for Acts::AssertionFailureException:
Collaboration diagram for Acts::AssertionFailureException:Classes | |
| class | StreamFormatter |
| Class which allows to use the << operator to assemble a string. More... | |
Public Member Functions | |
| AssertionFailureException (const std::string &expression, const std::string &file, int line, const std::string &msg) | |
| Construct an assertion failure exception, captures macro info. | |
| const char * | what () const override throw () |
| The assertion message. | |
Private Attributes | |
| std::string | report |
Exception type for assertion failures This class captures the information available to the throw_assert macro.
Definition at line 18 of file ThrowAssert.hpp.
View newest version in sPHENIX GitHub at line 18 of file ThrowAssert.hpp
|
inline |
Construct an assertion failure exception, captures macro info.
| expression | The expression being asserted |
| file | The current file |
| line | The current line |
| msg | The message to print if assertion fails |
Definition at line 45 of file ThrowAssert.hpp.
View newest version in sPHENIX GitHub at line 45 of file ThrowAssert.hpp
References report.
|
inlineoverride |
The assertion message.
Definition at line 61 of file ThrowAssert.hpp.
View newest version in sPHENIX GitHub at line 61 of file ThrowAssert.hpp
References report.
|
private |
Definition at line 64 of file ThrowAssert.hpp.
View newest version in sPHENIX GitHub at line 64 of file ThrowAssert.hpp
Referenced by AssertionFailureException(), and what().