VirtualMailManager/Exceptions.py
changeset 55 15c873f94ba6
parent 48 0d5f58f8b8f5
child 61 d85482575349
equal deleted inserted replaced
54:1fc1f82c662f 55:15c873f94ba6
    45 class VMMDomainException(VMMException):
    45 class VMMDomainException(VMMException):
    46     """Exception class for Domain exceptions"""
    46     """Exception class for Domain exceptions"""
    47     def __init__(self, msg, code):
    47     def __init__(self, msg, code):
    48         VMMException.__init__(self, msg, code)
    48         VMMException.__init__(self, msg, code)
    49 
    49 
    50 class VMMDomainAliasException(VMMException):
    50 class VMMAliasDomainException(VMMException):
    51     """Exception class for DomainAlias exceptions"""
    51     """Exception class for AliasDomain exceptions"""
    52     def __init__(self, msg, code):
    52     def __init__(self, msg, code):
    53         VMMException.__init__(self, msg, code)
    53         VMMException.__init__(self, msg, code)
    54 
    54 
    55 class VMMAccountException(VMMException):
    55 class VMMAccountException(VMMException):
    56     """Exception class for Account exceptions"""
    56     """Exception class for Account exceptions"""