Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Database/Exception.cpp
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4#include "Stroika/Foundation/StroikaPreComp.h"
5
7
8#include "Exception.h"
9
10using namespace Stroika::Foundation;
12using namespace Stroika::Foundation::Database;
13
14/*
15 ********************************************************************************
16 **************************** ODBCSupport::Exception ****************************
17 ********************************************************************************
18 */
19Database::Exception::Exception (const String& message)
20 : inherited{"Database error: {}"_f(message)}
21{
22}
23
24/*
25 ********************************************************************************
26 ************************* ODBCSupport::NoDataException *************************
27 ********************************************************************************
28 */
29Database::NoDataException::NoDataException ()
30 : Exception{"No Data"sv}
31{
32}
String is like std::u32string, except it is much easier to use, often much more space efficient,...
Definition String.h:201