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

Source Code for Module Products.ZenRelations.Exceptions

 1  ############################################################################## 
 2  #  
 3  # Copyright (C) Zenoss, Inc. 2007, all rights reserved. 
 4  #  
 5  # This content is made available according to terms specified in 
 6  # License.zenoss under the directory where your Zenoss product is installed. 
 7  #  
 8  ############################################################################## 
 9   
10   
11  __doc__="""RelationshipManager Errors 
12   
13   
14  $Id: Exceptions.py,v 1.1 2003/10/04 15:55:17 edahl Exp $""" 
15   
16  __version__ = "$Revision: 1.1 $"[11:-2] 
17   
18  from Products.ZenUtils.Exceptions import ZentinelException 
19   
20 -class ZenImportError(ZentinelException): pass
21
22 -class ZenRelationsError(ZentinelException): pass
23
24 -class ObjectNotFound(ZenRelationsError): pass
25
26 -class RelationshipExistsError(ZenRelationsError):pass
27
28 -class ZenSchemaError(ZenRelationsError): pass
29
30 -class InvalidContainer(ZenRelationsError):
31 """ 32 Relationship got added to a container that isn't a RelationshipManager. 33 """ 34 pass 35 36 zenmarker = "__ZENMARKER__" 37