Stroika Library
3.0d16
Help-Home
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
18
namespace
Stroika::Foundation::Database {
19
20
using namespace
std
;
21
using namespace
Stroika::Foundation
;
22
23
using
Characters::String
;
24
25
/**
26
* An exception reported by the (typically remote) database.
27
*/
28
class
Exception
:
public
Execution::RuntimeErrorException
<> {
29
private
:
30
using
inherited
=
Execution::RuntimeErrorException<>
;
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
:
41
NoDataException
();
42
};
43
44
}
45
46
/*
47
********************************************************************************
48
***************************** Implementation Details ***************************
49
********************************************************************************
50
*/
51
52
#endif
/*_Stroika_Foundation_Database_Exception_h_*/
Stroika::Foundation::Characters::String
String is like std::u32string, except it is much easier to use, often much more space efficient,...
Definition
String.h:201
Stroika::Foundation::Database::Exception
Definition
Database/Exception.h:28
Stroika::Foundation::Database::NoDataException
Definition
Database/Exception.h:39
Stroika::Foundation::Execution::RuntimeErrorException
Definition
Exceptions.h:198
Stroika::Foundation
Definition
BloomFilter.h:22
std
STL namespace.
Library
Sources
Stroika
Foundation
Database
Exception.h
Generated by
1.9.8