![]() |
MaCh3 2.2.1
Reference Guide
|
Custom exception class for MaCh3 errors. 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. | |
const char * | what () const noexcept override |
Returns the error message associated with this exception. | |
Private Attributes | |
std::string | errorMessage |
The error message associated with this exception. | |
Custom exception class for MaCh3 errors.
Definition at line 13 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 19 of file MaCh3Exception.h.
|
inlineoverridenoexcept |
Returns the error message associated with this exception.
Definition at line 32 of file MaCh3Exception.h.
|
private |
The error message associated with this exception.
Definition at line 38 of file MaCh3Exception.h.