Source code for manager.exceptions

#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
**exceptions.py**

**Platform:**
	Windows, Linux, Mac Os X.

**Description:**
	Defines **Manager** package exceptions.

**Others:**

"""

#**********************************************************************************************************************
#***	Future imports.
#**********************************************************************************************************************
from __future__ import unicode_literals

#**********************************************************************************************************************
#***	Internal imports.
#**********************************************************************************************************************
import foundations.exceptions

#**********************************************************************************************************************
#***	Module attributes.
#**********************************************************************************************************************
__author__ = "Thomas Mansencal"
__copyright__ = "Copyright (C) 2008 - 2014 - Thomas Mansencal"
__license__ = "GPL V3.0 - http://www.gnu.org/licenses/"
__maintainer__ = "Thomas Mansencal"
__email__ = "[email protected]"
__status__ = "Production"

__all__ = ["AbstractComponentsManagerError",
			"ComponentProfileError",
			"ComponentModuleError",
			"ComponentRegistrationError",
			"ComponentInterfaceError",
			"ComponentInstantiationError",
			"ComponentActivationError",
			"ComponentDeactivationError",
			"ComponentReloadError",
			"ComponentExistsError"]

#**********************************************************************************************************************
#***	Module classes and definitions.
#**********************************************************************************************************************
[docs]class AbstractComponentsManagerError(foundations.exceptions.AbstractError): """ Defines the abstract base class for :class:`manager.componentsManager.Manager` related exceptions. """ pass
[docs]class ComponentProfileError(AbstractComponentsManagerError): """ Defines Component profile exception. """ pass
[docs]class ComponentModuleError(AbstractComponentsManagerError): """ Defines Component associated module exception. """ pass
[docs]class ComponentRegistrationError(AbstractComponentsManagerError): """ Defines Component registration exception. """ pass
[docs]class ComponentInterfaceError(AbstractComponentsManagerError): """ Defines Component Interface exception. """ pass
[docs]class ComponentInstantiationError(AbstractComponentsManagerError): """ Defines Component instantiation exception. """ pass
[docs]class ComponentActivationError(AbstractComponentsManagerError): """ Defines Component activation exception. """ pass
[docs]class ComponentDeactivationError(AbstractComponentsManagerError): """ Defines Component deactivation exception. """ pass
[docs]class ComponentReloadError(AbstractComponentsManagerError): """ Defines Component reload exception. """ pass
[docs]class ComponentExistsError(AbstractComponentsManagerError): """ Defines non existing Component exception. """ pass