[Zope-Checkins] CVS: Zope/lib/python/zExceptions - __init__.py:1.4.88.1

Tres Seaver cvs-admin at zope.org
Mon Nov 17 17:10:13 EST 2003


Update of /cvs-repository/Zope/lib/python/zExceptions
In directory cvs.zope.org:/tmp/cvs-serv12097/lib/python/zExceptions

Modified Files:
      Tag: tseaver-strexp_delenda-branch
	__init__.py 
Log Message:



  - Rip string exceptins out by the root.

  - webdav/*:  clean up block statements for readability.

  - XXX:  Redirects are now showing up in the error log object;  need
          to filter!


=== Zope/lib/python/zExceptions/__init__.py 1.4 => 1.4.88.1 ===
--- Zope/lib/python/zExceptions/__init__.py:1.4	Wed Aug 14 18:12:06 2002
+++ Zope/lib/python/zExceptions/__init__.py	Mon Nov 17 17:10:12 2003
@@ -19,3 +19,21 @@
 """
 
 from unauthorized import Unauthorized
+
+class BadRequest(Exception):
+    pass
+
+class InternalError(Exception):
+    pass
+
+class NotFound(Exception):
+    pass
+
+class Forbidden(Exception):
+    pass
+
+class MethodNotAllowed(Exception):
+    pass
+
+class Redirect(Exception):
+    pass




More information about the Zope-Checkins mailing list