SW Task Event Loop Framework v1.0.0
High-performance C++ asynchronous event loop framework with timer management and promise-based programming
|
Exception thrown when CPU-bound tasks exceed timeout limits. More...
#include <CpuTaskExecutor.h>
Public Member Functions | |
CpuTaskTimeoutException (const std::string &message) | |
Constructor with timeout message. | |
Exception thrown when CPU-bound tasks exceed timeout limits.
This exception is thrown by CpuTaskExecutor when a CPU-intensive task doesn't complete within the specified timeout duration. Provides detailed timeout information for debugging and error handling.
The exception is generated by the timeout management system and delivered through the Promise mechanism to maintain thread safety and consistent error handling patterns.
Definition at line 55 of file CpuTaskExecutor.h.
|
inlineexplicit |
Constructor with timeout message.
message | Descriptive message including timeout duration |
Creates a timeout exception with detailed information about the timeout duration and context for debugging purposes.
Definition at line 69 of file CpuTaskExecutor.h.