Exception for errors when initializing any system.
More...
#include <OficinaExceptions.hpp>
Exception for errors when initializing any system.
◆ SystemInitializationErrorException() [1/3]
OficinaFramework::SystemInitializationErrorException::SystemInitializationErrorException |
( |
| ) |
|
|
inline |
Instantiates the exception with default error message.
◆ SystemInitializationErrorException() [2/3]
OficinaFramework::SystemInitializationErrorException::SystemInitializationErrorException |
( |
std::string |
message | ) |
|
|
inline |
Instantiates the exception with a given error message.
- Parameters
-
message | The message to be set to the exception. |
◆ SystemInitializationErrorException() [3/3]
OficinaFramework::SystemInitializationErrorException::SystemInitializationErrorException |
( |
std::string |
message, |
|
|
std::string |
systemname |
|
) |
| |
|
inline |
Instantiates the exception with a given error message. Also identifies the System with errors.
- Parameters
-
message | The message to be set to the exception. |
systemname | The path or name of the problematic system. |
◆ GetMessageAndSystemName()
std::string OficinaFramework::SystemInitializationErrorException::GetMessageAndSystemName |
( |
| ) |
|
A string containing the message and the system name.
- Returns
- Exception message, plus the problematic system name.
◆ GetSystemName()
std::string OficinaFramework::SystemInitializationErrorException::GetSystemName |
( |
| ) |
|
A string containing the system name.
- Returns
- Name of the problematic system.
◆ what()
virtual const char* OficinaFramework::SystemInitializationErrorException::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlinevirtual |
The documentation for this class was generated from the following file: