March 2024 - This site, and Kamaelia are being updated. There is significant work needed, and PRs are welcome.

Axon.AxonExceptions

Axon Exceptions

AxonException is the base class for all axon exceptions defined here.


Axon.AxonExceptions.AccessToUndeclaredTrackedVariable

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?

Methods inherited from Axon.AxonExceptions.AxonException :

Axon.AxonExceptions.ArgumentsClash

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?

Methods inherited from Axon.AxonExceptions.AxonException :

Axon.AxonExceptions.AxonException

class AxonException(Exception)

Base class for axon exceptions.

Any arguments listed are placed in self.args

Methods defined here

__init__(self, *args)

Axon.AxonExceptions.BadComponent

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?

Methods inherited from Axon.AxonExceptions.AxonException :

Axon.AxonExceptions.BadInbox

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?

Methods inherited from Axon.AxonExceptions.AxonException :

Axon.AxonExceptions.BadParentTracker

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?

Methods inherited from Axon.AxonExceptions.AxonException :

Axon.AxonExceptions.BoxAlreadyLinkedToDestination

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?

Methods inherited from Axon.AxonExceptions.AxonException :

Axon.AxonExceptions.MultipleServiceDeletion

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?

Methods inherited from Axon.AxonExceptions.AxonException :

Axon.AxonExceptions.NamespaceClash

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?

Methods inherited from Axon.AxonExceptions.AxonException :

Axon.AxonExceptions.ServiceAlreadyExists

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?

Methods inherited from Axon.AxonExceptions.AxonException :

Axon.AxonExceptions.invalidComponentInterface

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:

Methods inherited from Axon.AxonExceptions.AxonException :

Axon.AxonExceptions.noSpaceInBox

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'?

Methods inherited from Axon.AxonExceptions.AxonException :

Axon.AxonExceptions.normalShutdown

class normalShutdown(AxonException)

Methods inherited from Axon.AxonExceptions.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