forked from xapi-project/xen-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
db_exn.ml
24 lines (20 loc) · 1.04 KB
/
db_exn.ml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(*
* Copyright (C) 2006-2009 Citrix Systems Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; version 2.1 only. with the special
* exception on linking described in file LICENSE.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*)
exception Duplicate_key of (*class*) string * (*field*) string * (*uuid*) string * (*key*) string
exception DBCache_NotFound of string*string*string
exception Uniqueness_constraint_violation of string*string*string
exception Read_missing_uuid of (*class*) string * (*ref*) string * (*uuid*) string
exception Too_many_values of (*class*) string * (*ref*) string * (*uuid*) string
exception Remote_db_server_returned_unknown_exception
exception Remote_db_server_returned_bad_message