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

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ HeaderNotFoundException()

HeaderNotFoundException::HeaderNotFoundException ( const QString &  errorMessage)

Constructs the exception with an error message.

Parameters
errorMessageDescription of the error encountered.
Here is the call graph for this function:

Member Function Documentation

◆ errorMessage()

QString HeaderNotFoundException::errorMessage ( ) const

Simple Getter for the error message.

Here is the caller graph for this function:

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