Find and replace
[certmaster.git] / certmaster / codes.py
1 """
2 Certmaster
3
4 Copyright 2007-2008, Red Hat, Inc
5 See AUTHORS
6
7 This software may be freely redistributed under the terms of the GNU
8 general public license.
9
10 You should have received a copy of the GNU General Public License
11 along with this program; if not, write to the Free Software
12 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
13 """
14
15 import exceptions
16
17
18 class CertMasterException(exceptions.Exception):
19 pass
20
21 class CMException(CertMasterException):
22 pass
23
24 class InvalidMethodException(CertMasterException):
25 pass
26
27 # FIXME: more sub-exceptions maybe
28