Source code for simprov.exceptions

[docs] class EntitySpecificationNotFoundException(Exception): """The entity specification can not be found."""
[docs] class AgentSpecificationNotFoundException(Exception): """The agent specification can not be found."""
[docs] class ActivitySpecificationNotFoundException(Exception): """The activity specification can not be found."""
[docs] class InvalidEntitySpecificationException(Exception): """The entity specification is invalid."""
[docs] class InvalidActivitySpecificationException(Exception): """The activity specification is invalid."""
[docs] class PrimaryKeyAttributeNotDefinedException(Exception): """The primary key attribute has no value."""
[docs] class InvalidRuleSpecificationException(Exception): """The rule specification is invalid."""
[docs] class NoRuleFoundException(Exception): """The rule for the event type can not be found."""
[docs] class InvalidRuleResultException(Exception): """The rule do not return an activity."""
[docs] class InvalidActivityException(Exception): """The activity is invalid."""
[docs] class ActivityAlreadyDefinedException(Exception): """The activity is already defined."""
[docs] class EntityAlreadyDefinedException(Exception): """The entity is already defined."""
[docs] class InvalidSpecificationException(Exception): """The specification is neither an entity nor an activity specification."""