August'24: Kamaelia is in maintenance mode and will recieve periodic updates, about twice a year,
primarily targeted around Python 3 and ecosystem compatibility.
PRs are always welcome. Latest Release: 1.14.32 (2024/3/24)
Axon Exceptions
AxonException is the base class for all axon exceptions defined
here.
class
AccessToUndeclaredTrackedVariable(AxonException)
Attempt to access a value being tracked by the coordinating assistant
tracker that isn't actually being tracked yet!
Arguments:
- the name of the value that couldn't be accessed
- the value that it was to be updated with (optional)
Possible causes:
- Attempt to update or retrieve a value with a misspelt name?
- Attempt to update or retrieve a value before it starts being
tracked?
class ArgumentsClash(AxonException)
Supplied arguments clash with each other.
Possible causes:
- meaning of arguments misunderstood? not allowed this given
combination of arguments or values of arguments?
class AxonException(Exception)
Base class for axon exceptions.
Any arguments listed are placed in self.args
Methods defined here
__init__(self, *args)
class BadComponent(AxonException)
The object provided does not appear to be a proper component.
Arguments:
- the 'component' in question
Possible causes:
- Trying to register a service (component,boxname) with the
coordinating assistant tracker supplying something that isn't a
component?
class BadInbox(AxonException)
The inbox named does not exist or is not a proper inbox.
Arguments:
- the 'component' in question
- the inbox name in question
Possible causes:
- Trying to register a service (component,boxname) with the
coordinating assistant tracker supplying something that isn't a
component?
class
BadParentTracker(AxonException)
Parent tracker is bad (not actually a tracker?)
Possible causes:
- creating a coordinatingassistanttracker specifying a parent that is
not also a coordinatingassistanttracker?
class
BoxAlreadyLinkedToDestination(AxonException)
The inbox/outbox already has a linkage going from it to a
destination.
Arguments:
- the box that is already linked
- the box that it is linked to
- the box you were trying to link it to
Possible causes:
- Are you trying to make a linkage going from an inbox/outbox to more
than one destination?
- perhaps another component has already made a linkage from that
inbox/outbox?
class
MultipleServiceDeletion(AxonException)
Trying to delete a service that does not exist.
Possible causes:
- Trying to delete a service (component,boxname) from the coordinating
assistant tracker twice or more times?
class NamespaceClash(AxonException)
Clash of names.
Possible causes:
- two or more requests made to coordinating assistant tracker to track
values under a given name (2nd request will clash with first)?
- should have used updateValue() method to update a value being
tracked by the coordinating assistant tracker?
class
ServiceAlreadyExists(AxonException)
A service already exists with the name you specifed.
Possible causes:
- Two or more components are trying to register services with the
coordinating assistant tracker using the same name?
class
invalidComponentInterface(AxonException)
Component does not have the required inboxes/outboxes.
Arguments:
- "inboxes" or "outboxes" - indicating which is at
fault
- the component in question
- (inboxes,outboxes) listing the expected interface
Possible causes:
class noSpaceInBox(AxonException)
Destination inbox is full.
Possible causes:
- The destination inbox is size limited?
- It is a threaded component with too small a 'default queue
size'?
class normalShutdown(AxonException)
Feedback
Got a problem with the documentation? Something unclear that could be
clearer? Want to help improve it? Constructive criticism is very welcome
- especially if you can suggest a better rewording!
Please leave you feedback here in reply to the documentation thread in the
Kamaelia blog.
-- Automatic documentation generator, 09 Dec 2009 at 04:00:25
UTC/GMT