Stroika Library
3.0d16
Help-Home
Loading...
Searching...
No Matches
SilentException.h
1
/*
2
* Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3
*/
4
#ifndef _Stroia_Foundation_Execution_SilentException_h_
5
#define _Stroia_Foundation_Execution_SilentException_h_ 1
6
7
#include "Stroika/Foundation/StroikaPreComp.h"
8
9
#include <exception>
10
11
namespace
Stroika::Foundation::Execution
{
12
13
/**
14
* Throw this when an error has already been reported - so that it isn't reported again
15
*/
16
class
SilentException
:
public
std::exception {
17
public
:
18
/**
19
* \note not inline because in the SilentException class, this type is incomplete (sad - as of C++17 limitation).
20
*/
21
static
const
SilentException
kThe
;
22
23
public
:
24
/**
25
* Provide a 'c string' variant of the exception message. Convert the UNICODE
26
* string argument to a narrow-string (multibyte) in the current locale encoding.
27
*/
28
virtual
const
char
*
what
() const noexcept override;
29
};
30
inline const
SilentException
SilentException
::
kThe
;
31
32
}
33
34
#endif
/*_Stroia_Foundation_Execution_SilentException_h_*/
Stroika::Foundation::Execution::SilentException
Definition
SilentException.h:16
Stroika::Foundation::Execution::SilentException::what
virtual const char * what() const noexcept override
Definition
SilentException.cpp:16
Stroika::Foundation::Execution::SilentException::kThe
static const SilentException kThe
Definition
SilentException.h:21
Stroika::Foundation::Execution
Definition
SDKString.inl:7
Library
Sources
Stroika
Foundation
Execution
SilentException.h
Generated by
1.9.8