# 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
        pass

    def finalize(self):
        """
        Called at end of test run. Called once per <Test> section.
        """
        pass

    def start(self):
        """
        Change state such that send/receive will work. For TCP this could be
        connecting to a remote host.
        """
        pass

    def stop(self):
        """
        Change state such that send/receive will not work. For TCP this could
        be closing a connection, for a file it might be closing the file
        handle.
        """
        pass

    def send(self, data):
        """
        Publish some data.

        :param data: data to publish
        :type data: str
        """

# 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

        pass

    def finalize(self):
        """
        Called at end of test run. Called once per <Test> section.
        """
        pass

    def start(self):
        """
        Change state such that send/receive will work. For TCP this could be
        connecting to a remote host.
        """
        pass

    def stop(self):
        """
        Change state such that send/receive will not work. For TCP this could
        be closing a connection, for a file it might be closing the file
        handle.
        """
        pass

    def send(self, data):
        """
        Publish some data.

        :param data: data to publish
        :type data: str
        """

        raise PeachException("Action 'send' not supported by publisher.")