<reponame>coetaur0/alpynet
"""
Definition of exceptions.
"""

# APN exceptions.


class ConsumeException(Exception):
    """
    Exception raised when an attempt to consume a token in a place where it
    doesn't exist is made.
    """


class FiringException(Exception):
    """
    Exception raised when an attempt to fire a transition that is not fireable
    is made.
    """

"""
Definition of exceptions.
"""

# APN exceptions.


class ConsumeException(Exception):
    """
    Exception raised when an attempt to consume a token in a place where it
    doesn't exist is made.
    """


class FiringException(Exception):
    """
    Exception raised when an attempt to fire a transition that is not fireable
    is made.
    """
Definition of exceptions. # APN exceptions. Exception raised when an attempt to consume a token in a place where it     doesn't exist is made. Exception raised when an attempt to fire a transition that is not fireable     is made.