VirtualMailManager/Exceptions.py
changeset 102 485d3f7d6981
parent 76 14c0a092d7d2
child 138 617f27715b01
equal deleted inserted replaced
101:0ab6f74aa165 102:485d3f7d6981
     1 # -*- coding: UTF-8 -*-
     1 # -*- coding: UTF-8 -*-
     2 # Copyright 2007-2008 VEB IT
     2 # Copyright (c) 2007 - 2009, VEB IT
     3 # See COPYING for distribution information.
     3 # See COPYING for distribution information.
     4 # $Id$
       
     5 
     4 
     6 """Exception classes for Virtual Mail Manager"""
     5 """Exception classes for Virtual Mail Manager"""
     7 
     6 
     8 from constants.VERSION import VERSION
     7 from constants.VERSION import *
     9 
       
    10 __author__ = 'Pascal Volk <p.volk@veb-it.de>'
       
    11 __version__ = VERSION
       
    12 __revision__ = 'rev '+'$Rev$'.split()[1]
       
    13 __date__ = '$Date$'.split()[1]
       
    14 
     8 
    15 class VMMException(Exception):
     9 class VMMException(Exception):
    16     """Exception class for VirtualMailManager exceptions"""
    10     """Exception class for VirtualMailManager exceptions"""
    17     def __init__(self, msg, code):
    11     def __init__(self, msg, code):
    18         Exception.__init__(self, msg)
    12         Exception.__init__(self, msg)