1 """ photoprint exceptions
3 $Id: exceptions.py 805 2009-03-19 23:59:45Z pin $
4 $URL: http://svn.luxia.fr/svn/labo/projects/zope/photoprint/trunk/exceptions.py $
6 from AccessControl
import ModuleSecurityInfo
8 security
= ModuleSecurityInfo('Products.photoprint.exceptions')
10 security
.declarePublic('SoldOutError')
11 class SoldOutError(Exception):
14 __allow_access_to_unprotected_subobjects__
= 1
16 def __init__(self
, n
=0):
19 security
.declarePublic('CartLockedError')
20 class CartLockedError(Exception) :
21 "Operation is not permitted due to cart lock"