Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
OperationNotSupportedException.cpp
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4#include "Stroika/Foundation/StroikaPreComp.h"
5
6#include "OperationNotSupportedException.h"
7
8using namespace Stroika::Foundation;
10using namespace Stroika::Foundation::Execution;
11
12/*
13 ********************************************************************************
14 ************************ OperationNotSupportedException ************************
15 ********************************************************************************
16 */
17OperationNotSupportedException::OperationNotSupportedException ()
18 : Execution::RuntimeErrorException<>{"Operation Not Supported"sv}
19{
20}
21
22OperationNotSupportedException::OperationNotSupportedException (const String& operationName)
23 : Execution::RuntimeErrorException<>{"Operation '"sv + operationName + "' Not Supported"sv}
24 , fOperationName_{operationName}
25{
26}
27
28optional<String> OperationNotSupportedException::GetOperationName () const
29{
30 return fOperationName_;
31}
String is like std::u32string, except it is much easier to use, often much more space efficient,...
Definition String.h:201