annotate src/core/exceptions.py @ 552:6970ab58b020

wix: fixed profile manager
author Goffi <goffi@goffi.org>
date Sat, 24 Nov 2012 02:21:02 +0100
parents 2c4016921403
children bdcd8c6c4ed4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
258
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
1 #!/usr/bin/python
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
2 # -*- coding: utf-8 -*-
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
3
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
4 """
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
5 SàT Exceptions
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
6 Copyright (C) 2011 Jérôme Poisson (goffi@goffi.org)
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
7
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
8 This program is free software: you can redistribute it and/or modify
480
2a072735e459 Licence modification: the full project is now under AGPL v3+ instead of GPL v3+
Goffi <goffi@goffi.org>
parents: 471
diff changeset
9 it under the terms of the GNU Affero General Public License as published by
258
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
10 the Free Software Foundation, either version 3 of the License, or
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
11 (at your option) any later version.
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
12
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
13 This program is distributed in the hope that it will be useful,
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
480
2a072735e459 Licence modification: the full project is now under AGPL v3+ instead of GPL v3+
Goffi <goffi@goffi.org>
parents: 471
diff changeset
16 GNU Affero General Public License for more details.
258
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
17
480
2a072735e459 Licence modification: the full project is now under AGPL v3+ instead of GPL v3+
Goffi <goffi@goffi.org>
parents: 471
diff changeset
18 You should have received a copy of the GNU Affero General Public License
258
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
20 """
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
21
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
22 class ProfileUnknownError(Exception):
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
23 pass
486
0d9908ac775e core: entity cache misc data management + error moved to core.exceptions in memory
Goffi <goffi@goffi.org>
parents: 480
diff changeset
24
0d9908ac775e core: entity cache misc data management + error moved to core.exceptions in memory
Goffi <goffi@goffi.org>
parents: 480
diff changeset
25 class ProfileNotInCacheError(Exception):
0d9908ac775e core: entity cache misc data management + error moved to core.exceptions in memory
Goffi <goffi@goffi.org>
parents: 480
diff changeset
26 pass
0d9908ac775e core: entity cache misc data management + error moved to core.exceptions in memory
Goffi <goffi@goffi.org>
parents: 480
diff changeset
27
0d9908ac775e core: entity cache misc data management + error moved to core.exceptions in memory
Goffi <goffi@goffi.org>
parents: 480
diff changeset
28 class ConnectedProfileError(Exception):
0d9908ac775e core: entity cache misc data management + error moved to core.exceptions in memory
Goffi <goffi@goffi.org>
parents: 480
diff changeset
29 pass
0d9908ac775e core: entity cache misc data management + error moved to core.exceptions in memory
Goffi <goffi@goffi.org>
parents: 480
diff changeset
30
0d9908ac775e core: entity cache misc data management + error moved to core.exceptions in memory
Goffi <goffi@goffi.org>
parents: 480
diff changeset
31 class UnknownEntityError(Exception):
0d9908ac775e core: entity cache misc data management + error moved to core.exceptions in memory
Goffi <goffi@goffi.org>
parents: 480
diff changeset
32 pass
501
e9634d2e7b38 core, quick_frontend, primitivus, wix: Contacts List refactoring phase 1:
Goffi <goffi@goffi.org>
parents: 486
diff changeset
33
e9634d2e7b38 core, quick_frontend, primitivus, wix: Contacts List refactoring phase 1:
Goffi <goffi@goffi.org>
parents: 486
diff changeset
34 class UnknownGroupError(Exception):
e9634d2e7b38 core, quick_frontend, primitivus, wix: Contacts List refactoring phase 1:
Goffi <goffi@goffi.org>
parents: 486
diff changeset
35 pass
538
2c4016921403 core, frontends, bridgen plugins: fixed methods which were unproperly managing multi-profiles
Goffi <goffi@goffi.org>
parents: 501
diff changeset
36
2c4016921403 core, frontends, bridgen plugins: fixed methods which were unproperly managing multi-profiles
Goffi <goffi@goffi.org>
parents: 501
diff changeset
37 class NotFound(Exception):
2c4016921403 core, frontends, bridgen plugins: fixed methods which were unproperly managing multi-profiles
Goffi <goffi@goffi.org>
parents: 501
diff changeset
38 pass