diff -r 33f727efa7c4 -r 0c8c053b451c doc/source/vmm_exceptions.rst --- a/doc/source/vmm_exceptions.rst Thu Feb 25 17:56:08 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,118 +0,0 @@ -:mod:`VirtualMailManager.Exceptions` --- Exception classes -========================================================== - -.. module:: VirtualMailManager.Exceptions - :synopsis: Exception classes - -.. moduleauthor:: Pascal Volk - -.. toctree:: - :maxdepth: 2 - -Exceptions, used by VirtualMailManager's classes. - - -Exceptions ----------- - -.. exception:: VMMException(msg, code) - - Bases: :exc:`exceptions.Exception` - - :param msg: the error message - :type msg: :obj:`basestring` - :param code: the error code (one of :mod:`VirtualMailManager.constants.ERROR`) - :type code: :obj:`int` - - Base class for all other Exceptions in the VirtualMailManager package. - - - .. method:: msg - - :rtype: :obj:`basestring` - - Returns the error message of the exception. - - - .. method:: code - - :rtype: :obj:`int` - - Returns the numerical error code of the exception. - - -.. exception:: VMMConfigException(msg, code) - - Bases: :exc:`VirtualMailManager.Exceptions.VMMException` - - Exception class for configuration (:mod:`VirtualMailManager.Config`) - exceptions. - - -.. exception:: VMMNotRootException(msg, code) - - Bases: :exc:`VirtualMailManager.Exceptions.VMMException` - - Exception class for non-root exceptions. - - -.. exception:: VMMDomainException(msg, code) - - Bases: :exc:`VirtualMailManager.Exceptions.VMMException` - - Exception class for Domain (:mod:`VirtualMailManager.Domain`) exceptions. - - -.. exception:: VMMAliasDomainException(msg, code) - - Bases: :exc:`VirtualMailManager.Exceptions.VMMException` - - Exception class for AliasDomain (:mod:`VirtualMailManager.AliasDomain`) - exceptions. - - -.. exception:: VMMAccountException(msg, code) - - Bases: :exc:`VirtualMailManager.Exceptions.VMMException` - - Exception class for Account (:mod:`VirtualMailManager.Account`) exceptions. - - -.. exception:: VMMAliasException(msg, code) - - Bases: :exc:`VirtualMailManager.Exceptions.VMMException` - - Exception class for Alias (:mod:`VirtualMailManager.Alias`) exceptions. - - -.. exception:: VMMEmailAddressException(msg, code) - - Bases: :exc:`VirtualMailManager.Exceptions.VMMException` - - Exception class for EmailAddress (:mod:`VirtualMailManager.EmailAddress`) - exceptions. - - -.. exception:: VMMMailLocationException(msg, code) - - Bases: :exc:`VirtualMailManager.Exceptions.VMMException` - - Exception class for MailLocation (:mod:`VirtualMailManager.MailLocation`) - exceptions. - - -.. exception:: VMMRelocatedException(msg, code) - - Bases: :exc:`VirtualMailManager.Exceptions.VMMException` - - Exception class for Relocated (:mod:`VirtualMailManager.Relocated`) - exceptions. - - -.. exception:: VMMTransportException(msg, code) - - Bases: :exc:`VirtualMailManager.Exceptions.VMMException` - - Exception class for Transport (:mod:`VirtualMailManager.Transport`) - exceptions. -