Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Database/Exception.h
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4#ifndef _Stroika_Foundation_Database_Exception_h_
5#define _Stroika_Foundation_Database_Exception_h_ 1
6
7#include "Stroika/Foundation/StroikaPreComp.h"
8
9#include "Stroika/Foundation/Execution/Exceptions.h"
10
11/*
12 * \file
13 *
14 * \note Code-Status: <a href="Code-Status.md#Beta">Beta</a>
15 *
16 */
17
18namespace Stroika::Foundation::Database {
19
20 using namespace std;
21 using namespace Stroika::Foundation;
22
24
25 /**
26 * An exception reported by the (typically remote) database.
27 */
29 private:
31
32 public:
33 Exception (const String& message);
34 };
35
36 /**
37 * The database unexpectedly reported no data for the request.
38 */
39 class NoDataException : public Exception {
40 public:
42 };
43
44}
45
46/*
47 ********************************************************************************
48 ***************************** Implementation Details ***************************
49 ********************************************************************************
50 */
51
52#endif /*_Stroika_Foundation_Database_Exception_h_*/
String is like std::u32string, except it is much easier to use, often much more space efficient,...
Definition String.h:201
STL namespace.