[Zope-Checkins] CVS: Zope3/lib/python/Zope/Exceptions - _forbidden.py:1.1.2.1 __init__.py:1.2.14.3

Jim Fulton jim@zope.com
Wed, 26 Dec 2001 15:25:21 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	__init__.py 
Added Files:
      Tag: Zope-3x-branch
	_forbidden.py 
Log Message:
Added Forbidden error definition.


=== Added File Zope3/lib/python/Zope/Exceptions/_forbidden.py ===
# Copyright (c) 2001, Zope Corporation
#
# This software is subject to the provisions of the Zope Public License,
# Version 1.1 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS 
# FOR A PARTICULAR PURPOSE.
"""
$Id: _forbidden.py,v 1.1.2.1 2001/12/26 20:25:20 jim Exp $
"""
from Zope.Exceptions import ZopeError

class Forbidden(ZopeError, KeyError):
    """A resource cannot be accessed under any circumstances
    """


=== Zope3/lib/python/Zope/Exceptions/__init__.py 1.2.14.2 => 1.2.14.3 ===
 from unauthorized import Unauthorized
 from _notfounderror import NotFoundError
+from _forbidden import Forbidden