VirtualMailManager/Exceptions.py
changeset 8 7e3ce56f49e6
parent 4 f3c30b7421b9
child 32 ceb700bc4a80
equal deleted inserted replaced
7:96761c442dcf 8:7e3ce56f49e6
     1 #!/usr/bin/env python
     1 #!/usr/bin/env python
     2 # -*- coding: UTF-8 -*-
     2 # -*- coding: UTF-8 -*-
     3 # opyright 2007-2008 VEB IT
     3 # Copyright 2007-2008 VEB IT
     4 # See COPYING for distribution information.
     4 # See COPYING for distribution information.
     5 # $Id$
     5 # $Id$
     6 
     6 
     7 """Exception classes for Virtual Mail Manager"""
     7 """Exception classes for Virtual Mail Manager"""
     8 
     8 
    41     """Ausnahmeklasse für Accountausnamhem"""
    41     """Ausnahmeklasse für Accountausnamhem"""
    42     def __init__(self, msg):
    42     def __init__(self, msg):
    43         VMMException.__init__(self, msg)
    43         VMMException.__init__(self, msg)
    44 
    44 
    45 class VMMAliasException(VMMException):
    45 class VMMAliasException(VMMException):
    46     """Ausnahmeklasse für Aliasausnamhem"""
    46     """Exception class for Alias exceptions"""
    47     def __init__(self, msg):
    47     def __init__(self, msg):
    48         VMMException.__init__(self, msg)
    48         VMMException.__init__(self, msg)
       
    49 
       
    50 class VMMMailLocationException(VMMException):
       
    51     """Exception class for MailLocation exceptions"""
       
    52     def __init__(self, msg):
       
    53         VMMException.__init__(self, msg)
       
    54 
       
    55 class VMMTransportException(VMMException):
       
    56     """Exception class for Transport exceptions"""
       
    57     def __init__(self, msg):
       
    58         VMMException.__init__(self, msg)
       
    59