Stroika Library 3.0d25
 
Loading...
Searching...
No Matches
FeatureNotSupportedException.cpp
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2026. All rights reserved
3 */
4#include "Stroika/Foundation/StroikaPreComp.h"
5
8
9#include "FeatureNotSupportedException.h"
10
11using namespace Stroika::Foundation;
12using namespace Stroika::Foundation::Execution;
13
14/*
15 ********************************************************************************
16 ************************ FeatureNotSupportedException **************************
17 ********************************************************************************
18 */
19FeatureNotSupportedException::FeatureNotSupportedException ()
20 : Execution::Exception<runtime_error>{"Feature Not Supported"sv}
21{
22}
23
24FeatureNotSupportedException::FeatureNotSupportedException (const String& featureName)
25 : Execution::Exception<runtime_error>{"Feature '"sv + featureName + "' Not Supported"sv}
26 , fFeature_{featureName}
27{
28}
29
30optional<String> FeatureNotSupportedException::GetFeature () const
31{
32 return fFeature_;
33}
String is like std::u32string, except it is much easier to use, often much more space efficient,...
Definition String.h:201
Exception<> is a replacement (subclass) for any std c++ exception class (e.g. the default 'std::excep...
Definition Exceptions.h:219