|
NetSim 1.0.0
An educational network simulation software for students
|
Exception class for scenarios when a header is not found. More...
#include <headernotfoundexception.h>
Public Member Functions | |
| HeaderNotFoundException (const QString &errorMessage) | |
| Constructs the exception with an error message. | |
| QString | errorMessage () const |
| Simple Getter for the error message. | |
Exception class for scenarios when a header is not found.
The HeaderNotFoundException is thrown when an operation attempts to access a header that does not exist. This helps in error handling and ensuring that the software does not encounter unexpected failures.
| HeaderNotFoundException::HeaderNotFoundException | ( | const QString & | errorMessage | ) |
Constructs the exception with an error message.
| errorMessage | Description of the error encountered. |

| QString HeaderNotFoundException::errorMessage | ( | ) | const |
Simple Getter for the error message.
