4#ifndef _Stroika_Foundation_Execution_TimeOutException_h_
5#define _Stroika_Foundation_Execution_TimeOutException_h_ 1
7#include "Stroika/Foundation/StroikaPreComp.h"
9_DeprecatedFile_ (
"DEPRECATED TimeOutException.h - since v3.0d25 - catch (const system_error& e) and test "
10 "Execution::IsA (e, errc::timed_out); for the non-deprecated helpers that were here, use "
11 "Execution/Timeout.h and Execution/TimedLock.h");
13#include "Stroika/Foundation/Execution/Exceptions.h"
15#include "Stroika/Foundation/Execution/Timeout.h"
34 [[deprecated (
"Since Stroika v3.0d25 - use ThrowError (errc::timed_out)")]] [[noreturn]]
inline void ThrowTimeOutException ()
39 DISABLE_COMPILER_MSC_WARNING_START (4996);
40 DISABLE_COMPILER_GCC_WARNING_START (
"GCC diagnostic ignored \"-Wdeprecated-declarations\"");
41 DISABLE_COMPILER_CLANG_WARNING_START (
"clang diagnostic ignored \"-Wdeprecated-declarations\"");
55 class [[deprecated (
"Since Stroika v3.0d25 - catch (const system_error& e) and test Execution::IsA (e, errc::timed_out)")]]
79 DISABLE_COMPILER_MSC_WARNING_END (4996);
80 DISABLE_COMPILER_GCC_WARNING_END (
"GCC diagnostic ignored \"-Wdeprecated-declarations\"");
81 DISABLE_COMPILER_CLANG_WARNING_END (
"clang diagnostic ignored \"-Wdeprecated-declarations\"");
String is like std::u32string, except it is much easier to use, often much more space efficient,...
void ThrowTimeOutException()
void ThrowError(error_code ec)
throw a SystemErrorException with the given error_code - or std::bad_alloc for errc::not_enough_memor...