VirtualMailManager/Exceptions.py
changeset 138 617f27715b01
parent 102 485d3f7d6981
child 162 0ac9ef587769
equal deleted inserted replaced
137:fc09f657082d 138:617f27715b01
     1 # -*- coding: UTF-8 -*-
     1 # -*- coding: UTF-8 -*-
     2 # Copyright (c) 2007 - 2009, VEB IT
     2 # Copyright (c) 2007 - 2009, VEB IT
     3 # See COPYING for distribution information.
     3 # See COPYING for distribution information.
     4 
     4 
     5 """Exception classes for Virtual Mail Manager"""
     5 """Exception classes for Virtual Mail Manager"""
     6 
       
     7 from constants.VERSION import *
       
     8 
     6 
     9 class VMMException(Exception):
     7 class VMMException(Exception):
    10     """Exception class for VirtualMailManager exceptions"""
     8     """Exception class for VirtualMailManager exceptions"""
    11     def __init__(self, msg, code):
     9     def __init__(self, msg, code):
    12         Exception.__init__(self, msg)
    10         Exception.__init__(self, msg)