XMPPError Class Reference

XMPP errors. More...

#include <xmpputils.h>

List of all members.

Public Types

enum  Type {
  NoError = 0, BadFormat, BadNamespace, ConnTimeout,
  HostGone, HostUnknown, BadAddressing, Internal,
  InvalidFrom, InvalidId, InvalidNamespace, InvalidXml,
  NotAuth, Policy, RemoteConn, ResConstraint,
  RestrictedXml, SeeOther, Shutdown, UndefinedCondition,
  UnsupportedEnc, UnsupportedStanza, UnsupportedVersion, Xml,
  Aborted, IncorrectEnc, InvalidAuth, InvalidMechanism,
  MechanismTooWeak, NotAuthorized, TempAuthFailure, SBadRequest,
  SConflict, SFeatureNotImpl, SForbidden, SGone,
  SInternal, SItemNotFound, SBadJid, SNotAcceptable,
  SNotAllowed, SPayment, SUnavailable, SRedirect,
  SReg, SNoRemote, SRemoteTimeout, SResource,
  SServiceUnavailable, SSubscription, SUndefinedCondition, SRequest,
  DtmfNoMethod, Count
}
enum  ErrorType {
  TypeCancel = 1000, TypeContinue, TypeModify, TypeAuth,
  TypeWait, TypeCount
}

Public Member Functions

const char * operator[] (int index)

Static Public Member Functions

static bool isText (int index, const char *txt)
static int type (const char *txt)


Detailed Description

XMPP errors.

This class holds the XMPP error type, error enumerations and associated strings


Member Enumeration Documentation

enum Type

Error condition enumeration

enum ErrorType

Error type enumeration


Member Function Documentation

const char* operator[] ( int  index  )  [inline]

Get the text representation of a given error value

References TelEngine::lookup().

static bool isText ( int  index,
const char *  txt 
) [static]

Check if a given text is a valid error

static int type ( const char *  txt  )  [inline, static]

Get the type associated with a given error text

References TelEngine::lookup().


The documentation for this class was generated from the following file:

Generated on Mon Aug 11 16:17:53 2008 for Yate by  doxygen 1.5.6