class XMPPError

XMPP errors. More...

Full nameTelEngine::XMPPError
Definition#include <libs/yjingle/xmpputils.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Public Static Methods


Detailed Description

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

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, ItemNotFound, Count, }

Type

Error condition enumeration

enum ErrorType { TypeCancel = 1000, TypeContinue, TypeModify, TypeAuth, TypeWait, TypeCount, }

ErrorType

Error type enumeration

inline const char*  operator[] (int index)

operator[]

Get the text representation of a given error value

bool  isText (int index, const char* txt)

isText

[static]

Check if a given text is a valid error

inline int  type (const char* txt)

type

[static]

Get the type associated with a given error text


Generated by: paulc on bussard on Mon Mar 8 12:18:15 2010, using kdoc 2.0a54.