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.
some code here
except AjaxStubException, e:
print e.getMessage()