diff -r af813ede1e19 -r 14c0a092d7d2 VirtualMailManager/Exceptions.py --- a/VirtualMailManager/Exceptions.py Sat Sep 06 03:07:28 2008 +0000 +++ b/VirtualMailManager/Exceptions.py Mon Sep 08 05:30:17 2008 +0000 @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: UTF-8 -*- # Copyright 2007-2008 VEB IT # See COPYING for distribution information. @@ -65,13 +64,22 @@ def __init__(self, msg, code): VMMException.__init__(self, msg, code) +class VMMEmailAddressException(VMMException): + """Exception class for EmailAddress exceptions""" + def __init__(self, msg, code): + VMMException.__init__(self, msg, code) + class VMMMailLocationException(VMMException): """Exception class for MailLocation exceptions""" def __init__(self, msg, code): VMMException.__init__(self, msg, code) +class VMMRelocatedException(VMMException): + """Exception class for Relocated exceptions""" + def __init__(self, msg, code): + VMMException.__init__(self, msg, code) + class VMMTransportException(VMMException): """Exception class for Transport exceptions""" def __init__(self, msg, code): VMMException.__init__(self, msg, code) -