NetSim 1.0.0
An educational network simulation software for students
Loading...
Searching...
No Matches
Public Member Functions | List of all members
NetSim::CableNotFoundException Class Reference

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ CableNotFoundException()

CableNotFoundException::CableNotFoundException ( const QString &  errorMessage)

Constructor that initializes the exception with an error message.

Parameters
errorMessageDescription of the error that caused this exception.
Here is the call graph for this function:

Member Function Documentation

◆ errorMessage()

QString CableNotFoundException::errorMessage ( ) const

Fetches the error message associated with this exception.

Return values
QStringThe description of the error.
Here is the caller graph for this function:

The documentation for this class was generated from the following files: