Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
FeatureNotSupportedException.cpp
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. 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::RuntimeErrorException<>{"Feature Not Supported"sv}
21{
22}
23
24FeatureNotSupportedException::FeatureNotSupportedException (const String& featureName)
25 : Execution::RuntimeErrorException<>{"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