![]() |
MaCh3
2.4.2
Reference Guide
|
Custom exception class used throughout MaCh3. More...
#include <Manager/MaCh3Exception.h>
Public Member Functions | |
| MaCh3Exception (std::string File, int Line, std::string Message="") | |
| Constructs a MaCh3Exception object with the specified error message. More... | |
| const char * | what () const noexcept override |
| Returns the error message associated with this exception. More... | |
Private Attributes | |
| std::string | errorMessage |
| The error message associated with this exception. More... | |
Custom exception class used throughout MaCh3.
Definition at line 23 of file MaCh3Exception.h.
|
inlineexplicit |
Constructs a MaCh3Exception object with the specified error message.
| File | The name of the file where the exception occurred. |
| Line | The line number where the exception occurred. |
| Message | The error message describing the exception (optional). |
Definition at line 29 of file MaCh3Exception.h.
|
inlineoverridenoexcept |
Returns the error message associated with this exception.
Definition at line 42 of file MaCh3Exception.h.
|
private |
The error message associated with this exception.
Definition at line 48 of file MaCh3Exception.h.