Package ZenRelations :: Module Exceptions
[hide private]
[frames] | no frames]

Source Code for Module ZenRelations.Exceptions

 1  ########################################################################### 
 2  # 
 3  # This program is part of Zenoss Core, an open source monitoring platform. 
 4  # Copyright (C) 2007, Zenoss Inc. 
 5  # 
 6  # This program is free software; you can redistribute it and/or modify it 
 7  # under the terms of the GNU General Public License version 2 as published by 
 8  # the Free Software Foundation. 
 9  # 
10  # For complete information please visit: http://www.zenoss.com/oss/ 
11  # 
12  ########################################################################### 
13   
14  __doc__="""RelationshipManager Errors 
15   
16   
17  $Id: Exceptions.py,v 1.1 2003/10/04 15:55:17 edahl Exp $""" 
18   
19  __version__ = "$Revision: 1.1 $"[11:-2] 
20   
21  from Products.ZenUtils.Exceptions import ZentinelException 
22   
23 -class ZenImportError(ZentinelException): pass
24
25 -class ZenRelationsError(ZentinelException): pass
26
27 -class ObjectNotFound(ZenRelationsError): pass
28
29 -class RelationshipExistsError(ZenRelationsError):pass
30
31 -class ZenSchemaError(ZenRelationsError): pass
32
33 -class InvalidContainer(ZenRelationsError):
34 """ 35 Relationship got added to a container that isn't a RelationshipManager. 36 """ 37 pass 38 39 zenmarker = "__ZENMARKER__" 40