The constructor of this class accepts one argument, a message. The default message is "Error: Default error message.". There is only one method getMessage() used to return the message. The instantiated object can also be used as a string to returning the message.

__init__(self, msg=__DEFAULT_MESSAGE)
The exception constructor the msg argument is passed the error message or uses the default message.
Returns the exception message.

  some code here

except AjaxStubException, e:

  print e.getMessage()

Carl J. Nobile 2007-08-02