![]() |
Project
|
Error Handling when an invalid module ID (outside the limits) is called. More...
#include <GeometryBase.h>
Inherits std::exception.
Public Member Functions | |
| InvalidModuleException (int nModule, int nMax) | |
| Constructor. | |
| ~InvalidModuleException () noexcept final=default | |
| Destructor. | |
| int | GetModuleID () const noexcept |
| Get ID of the module raising the exception. | |
| int | GetMaxNumberOfModules () const noexcept |
| Get number of modules. | |
| const char * | what () const noexcept final |
| Access to error message. | |
Error Handling when an invalid module ID (outside the limits) is called.
Definition at line 56 of file GeometryBase.h.
Constructor.
| nModule | Module number raising the exception |
| nMax | Maximum amount of modules in setup |
Definition at line 62 of file GeometryBase.h.
|
finaldefaultnoexcept |
Destructor.
|
inlinenoexcept |
|
inlinenoexcept |
Get ID of the module raising the exception.
Definition at line 74 of file GeometryBase.h.
|
inlinefinalnoexcept |
Access to error message.
Definition at line 82 of file GeometryBase.h.