class IrmaDependencyError(Exception):
    """Error caused by a missing dependency."""
    pass


class IrmaMachineManagerError(Exception):
    """Error on a machine manager."""
    pass


class IrmaMachineError(Exception):
    """Error on a machine."""
    pass


class IrmaAdminError(Exception):
    """Error in admin part."""
    pass


class IrmaDatabaseError(Exception):
    """Error on a database manager."""
    pass


class IrmaConfigurationError(Exception):
    """Error wrong configuration."""
    pass


class IrmaFtpError(Exception):
    """Error on ftp manager."""
    pass


class IrmaTaskError(Exception):
    """Error while processing celery tasks."""
    pass


class IrmaLockError(Exception):
    """Error for the locks on db content (already taken)"""
    pass


class IrmaLockModeError(Exception):
    """Error for the mode of the locks (doesn't exist)"""
    pass


class IrmaValueError(Exception):
    """Error for the parameters passed to the functions"""
    pass

@@ -410,32 +410,157 @@
 .%22%22%22%0A    pass%0A%0A%0A
+class IrmaDatabaseResultNotFound(IrmaDatabaseError):%0A    %22%22%22A database result was required but none was found.%22%22%22%0A    pass%0A%0A%0A
 class IrmaConfig

add result not found exception