class AkentiMessage

   * 100-199 Ok messages

Public Methods

[more] AkentiMessage ()
constructor -creates null message
[more] AkentiMessage (int code)
constructor -sets code
[more] AkentiMessage (int code, const string& message)
constructor - sets code and message
[more] ~AkentiMessage ()
destructor
[more]int getCode () const
Returns the code
[more]const string& getMessage () const
Returns the message
[more]string toString () const
Returns the concatenation of the code and the message
[more]void toXML (DOMElement* mesg) const
[more]void fromXML (const DOMElement* mesg)


Documentation

  * 100-199 Ok messages
  *
  * 200-249 Problems that the client finds : cannot connect to server
  * 
  * 250-299 Problems that server finds: wrong request, bad credential
  *         - user needs to fix something
  * 300-399 Permission denied - errors from the Authorizer   
  *         - maps to user as permission denied, 
  * 400-499 Problems in policy collection and verififcation  
  * 500-599 Problems in UseCondition collection and verification
  *         - both map to user as policy is inconsistant
  * 900-999 Programming errors exceptions and errors caught
  *         - maps to user as code is wrong
  * 
o AkentiMessage()
constructor -creates null message

o AkentiMessage(int code)
constructor -sets code

o AkentiMessage(int code, const string& message)
constructor - sets code and message

o ~AkentiMessage()
destructor

oint getCode() const
Returns the code

oconst string& getMessage() const
Returns the message

ostring toString() const
Returns the concatenation of the code and the message

ovoid toXML(DOMElement* mesg) const

ovoid fromXML(const DOMElement* mesg)


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/01

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.