VirtualMailManager/Exceptions.py
changeset 76 14c0a092d7d2
parent 61 d85482575349
child 102 485d3f7d6981
--- 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)
-