equal
deleted
inserted
replaced
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) |