diff -r 000000000000 -r bb0aa2102206 VirtualMailManager/Exceptions.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/VirtualMailManager/Exceptions.py Sun Jan 06 18:22:10 2008 +0000
@@ -0,0 +1,44 @@
+#!/usr/bin/env python
+# -*- coding: UTF-8 -*-
+# opyright 2007-2008 VEB IT
+# See COPYING for distribution information.
+# $Id$
+
+"""Exception classes for Virtual Mail Manager"""
+
+__author__ = 'Pascal Volk
'
+__version__ = 'rev '+'$Rev$'.split()[1]
+__date__ = '$Date$'.split()[1]
+
+class VMMException(Exception):
+ """Ausnahmeklasse für die Klasse VirtualMailManager"""
+ def __init__(self, msg):
+ Exception.__init__(self, msg)
+
+class VMMConfigException(Exception):
+ """Ausnahmeklasse für Konfigurationssausnamhem"""
+ def __init__(self, msg):
+ Exception.__init__(self, msg)
+
+class VMMPermException(Exception):
+ """Ausnahmeklasse für Berechtigungsausnamhem"""
+ pass
+
+class VMMNotRootException(Exception):
+ """Ausnahmeklasse für unberechtige Zugriffe"""
+ pass
+
+class VMMDomainException(VMMException):
+ """Ausnahmeklasse für Domainausnamhem"""
+ def __init__(self, msg):
+ VMMException.__init__(self, msg)
+
+class VMMAccountException(VMMException):
+ """Ausnahmeklasse für Accountausnamhem"""
+ def __init__(self, msg):
+ VMMException.__init__(self, msg)
+
+class VMMAliasException(VMMException):
+ """Ausnahmeklasse für Aliasausnamhem"""
+ def __init__(self, msg):
+ VMMException.__init__(self, msg)