Commits

Anonymous committed e2cc273

Derive all exceptions from a CP defined class so that they can be handled as a group by CP applications

  • Participants
  • Parent commits 2399fc2

Comments (0)

Files changed (1)

File cherrypy/_cperror.py

 from urlparse import urljoin as _urljoin
 from cherrypy.lib import http as _http
 
+import exceptions
+class Exception(exceptions.Exception):
+    pass
 
 class InternalRedirect(Exception):
     """Exception raised when processing should be handled by a different path.