comparison roundup/exceptions.py @ 2129:3fd672293712

add and use Reject exception [SF#700265]
author Richard Jones <richard@users.sourceforge.net>
date Fri, 26 Mar 2004 00:44:11 +0000
parents
children 042ace5ddb7c
comparison
equal deleted inserted replaced
2128:a6588f4b841a 2129:3fd672293712
1 #$Id: exceptions.py,v 1.1 2004-03-26 00:44:11 richard Exp $
2 '''Exceptions for use across all Roundup components.
3 '''
4
5 __docformat__ = 'restructuredtext'
6
7 class Reject(Exception):
8 '''An auditor may raise this exception when the current create or set
9 operation should be stopped.
10
11 It is up to the specific interface invoking the create or set to
12 handle this exception sanely. For example:
13
14 - mailgw will trap and ignore Reject for file attachments and messages
15 - cgi will trap and present the exception in a nice format
16 '''
17 pass
18
19 # vim: set filetype=python ts=4 sw=4 et si

Roundup Issue Tracker: http://roundup-tracker.org/