Package config_common :: Module cfg_exceptions
[hide private]
[frames] | no frames]

Source Code for Module config_common.cfg_exceptions

 1  # 
 2  # Copyright (c) 2008--2013 Red Hat, Inc. 
 3  # 
 4  # This software is licensed to you under the GNU General Public License, 
 5  # version 2 (GPLv2). There is NO WARRANTY for this software, express or 
 6  # implied, including the implied warranties of MERCHANTABILITY or FITNESS 
 7  # FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2 
 8  # along with this software; if not, see 
 9  # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 
10  # 
11  # Red Hat trademarks are not licensed under GPLv2. No permission is 
12  # granted to use or replicate Red Hat trademarks that are incorporated 
13  # in this software or its documentation. 
14  # 
15   
16 -class InvalidSession(Exception):
17 pass
18
19 -class AuthenticationError(Exception):
20 pass
21
22 -class ConfigChannelNotInRepo(Exception):
23 pass
24
25 -class ConfigChannelAlreadyExistsError(Exception):
26 pass
27
28 -class ConfigChannelNotEmptyError(Exception):
29 pass
30
31 -class ConfigNotManaged(Exception):
32 pass
33
34 -class ConfigurationError(Exception):
35 pass
36
37 -class BinaryFileDiffError(Exception):
38 pass
39
40 -class RepositoryFileError(Exception):
41 pass
42
43 -class RepositoryLocalFileError(Exception):
44 pass
45
46 -class RepositoryFileMissingError(Exception):
47 pass
48
49 -class RepositoryFilePushError(RepositoryFileError):
50 pass
51
52 -class ConfigFileTooLargeError(RepositoryFilePushError):
53 pass
54
55 -class QuotaExceeded(RepositoryFilePushError):
56 pass
57
58 -class RepositoryFileExistsError(RepositoryFilePushError):
59 "Attempted to add a file that already exists" 60 pass
61
62 -class RepositoryFileVersionMismatchError(RepositoryFilePushError):
63 "File upload failed because the version changed underneath" 64 pass
65
66 -class FileEntryIsDirectory(Exception):
67 pass
68
69 -class DirectoryEntryIsFile(Exception):
70 pass
71
72 -class UserNotFound(Exception):
73 pass
74
75 -class GroupNotFound(Exception):
76 pass
77