blob: 2e0de3e0372c10c7ec143008ee29b400b0239a0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
// **********************************************************************
//
// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
#pragma once
[["cpp:header-ext:h", "objc:header-dir:objc"]]
module Freeze
{
local interface Transaction;
/**
*
* A Freeze database exception.
*
* @see Evictor
* @see Connection
*
**/
["cpp:ice_print"]
local exception DatabaseException
{
/**
*
* A message describing the reason for the exception.
*
**/
string message;
};
/**
*
* A Freeze database exception, indicating that a database record
* could not be found.
*
**/
["cpp:ice_print"]
local exception NotFoundException extends DatabaseException
{
};
/**
*
* A Freeze database deadlock exception. Applications can react to
* this exception by aborting and trying the transaction again.
*
**/
["cpp:ice_print"]
local exception DeadlockException extends DatabaseException
{
/**
*
* The transaction in which the deadlock occurred.
*
**/
Transaction tx;
};
/**
*
* This Freeze Iterator is not on a valid position, for example
* this position has been erased.
*
**/
local exception InvalidPositionException
{
};
/**
*
* Exception raised when Freeze fails to locate an index.
*
**/
["cpp:ice_print"]
local exception IndexNotFoundException
{
/**
*
* The name of the map in which the index could not be found.
*
**/
string mapName;
/**
*
* The name of the index.
*
**/
string indexName;
};
};
|