[Zope-Checkins] CVS: Zope3/lib/python/Zope/ComponentArchitecture - IComponentArchitecture.py:1.1.2.5

Jim Fulton jim@zope.com
Tue, 20 Nov 2001 16:45:22 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/ComponentArchitecture
In directory cvs.zope.org:/tmp/cvs-serv19525

Modified Files:
      Tag: Zope-3x-branch
	IComponentArchitecture.py 
Log Message:
Added error documentation, which breaks the current implementations.


=== Zope3/lib/python/Zope/ComponentArchitecture/IComponentArchitecture.py 1.1.2.4 => 1.1.2.5 ===
 
         The object also provides a place to look for placeful features.
+
+        A Zope.ComponentArchitecture.ComponentLookupError will be
+        raised if the component can't be found.
         """
 
     def provideUtility(providedInterface, component):
@@ -41,6 +44,9 @@
         """Look up a utility that provides an interface
 
         The object provides a place to look for placeful features.
+
+        A Zope.ComponentArchitecture.ComponentLookupError will be
+        raised if the component can't be found.
         """
 
     def providePresentation(forInterface, name, type, maker):
@@ -67,6 +73,9 @@
         The type is expressed as an interface.
 
         The object also provides a place to look for placeful presentations.
+
+        A Zope.ComponentArchitecture.ComponentLookupError will be
+        raised if the component can't be found.
         """
 
     def provideFactory(name, factory):
@@ -77,5 +86,8 @@
         """Create a new object using the factory with the given name
 
         The object provides a place to look for placeful presentations.
+
+        A Zope.ComponentArchitecture.ComponentLookupError will be
+        raised if the factory component can't be found.
         """