# Path: Peach/Engine/common.py
# class SoftException(Exception):
#     """
#     Soft exceptions should end the current test iteration, but not the run.
#     They are "recoverable" or "try again" errors.
#     """
#     pass
# 
# class PeachException(HardException):
#     """
#     Peach exceptions are specialized hard exceptions.
#     The message contained in a PeachException is presentable to the user w/o any stack trace, etc.
#     Examples would be:
#         "Error: The DataModel element requires a name attribute."
#     """
#     def __init__(self, msg, module="Unknown"):
#         Exception.__init__(self, msg)
#         self.module = module
#         self.msg = msg


from Peach.Engine.common import SoftException, PeachException
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.


class PublisherStartError(Exception):
    """
    Exception thrown if error occurs during start call.
    """
    pass


class PublisherStopError(Exception):
    """
    Exception thrown if error occurs during stop call.
    """
    pass



# Path: Peach/Engine/common.py
# class SoftException(Exception):
#     """
#     Soft exceptions should end the current test iteration, but not the run.
#     They are "recoverable" or "try again" errors.
#     """
#     pass
# 
# class PeachException(HardException):
#     """
#     Peach exceptions are specialized hard exceptions.
#     The message contained in a PeachException is presentable to the user w/o any stack trace, etc.
#     Examples would be:
#         "Error: The DataModel element requires a name attribute."
#     """
#     def __init__(self, msg, module="Unknown"):
#         Exception.__init__(self, msg)
#         self.module = module
#         self.msg = msg


# Path: Peach/publisher.py
from Peach.Engine.common import SoftException, PeachException

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.


class PublisherStartError(Exception):
    """
    Exception thrown if error occurs during start call.
    """
    pass


class PublisherStopError(Exception):
    """
    Exception thrown if error occurs during stop call.
    """
    pass



class PublisherSoftException(SoftException):