NetSim 1.0.0
An educational network simulation software for students
|
The CableNotFoundException class. More...
#include <cablenotfoundexception.h>
Public Member Functions | |
CableNotFoundException (const QString &errorMessage) | |
Constructor that initializes the exception with an error message. | |
QString | errorMessage () const |
Fetches the error message associated with this exception. | |
The CableNotFoundException class.
This exception is thrown whenever there's an operation that requires accessing a network cable and said cable isn't found or isn't accessible.
CableNotFoundException::CableNotFoundException | ( | const QString & | errorMessage | ) |
Constructor that initializes the exception with an error message.
errorMessage | Description of the error that caused this exception. |
QString CableNotFoundException::errorMessage | ( | ) | const |
Fetches the error message associated with this exception.
QString | The description of the error. |