ulxr::XmlException Class Reference

XML RPC exception due to a faulty xml structure. More...

#include <ulxr_except.h>

Inheritance diagram for ulxr::XmlException:

Inheritance graph
[legend]
Collaboration diagram for ulxr::XmlException:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 XmlException (int fc, const CppString &s, int l, const CppString &err)
 Constructs an xml exception.
virtual ~XmlException () throw ()
 Destroys the exception.
int getErrorLine () const
 Gets the line number of the error.
CppString getErrorString () const
 Gets the error string.

Private Attributes

int line
CppString xmlerror

Detailed Description

XML RPC exception due to a faulty xml structure.

Definition at line 139 of file ulxr_except.h.


Constructor & Destructor Documentation

ulxr::XmlException::XmlException ( int  fc,
const CppString s,
int  l,
const CppString err 
)

Constructs an xml exception.

Parameters:
fc number representing the error class
s the reason for the exception
l the faulty line (relative to the body start!)
err a human readable error string

Definition at line 115 of file ulxr_except.cpp.

ulxr::XmlException::~XmlException (  )  throw () [virtual]

Destroys the exception.

Definition at line 122 of file ulxr_except.cpp.


Member Function Documentation

int ulxr::XmlException::getErrorLine (  )  const

Gets the line number of the error.

Returns:
the line number

Definition at line 127 of file ulxr_except.cpp.

CppString ulxr::XmlException::getErrorString (  )  const

Gets the error string.

Returns:
the string

Definition at line 133 of file ulxr_except.cpp.


Member Data Documentation

int ulxr::XmlException::line [private]

Definition at line 167 of file ulxr_except.h.

CppString ulxr::XmlException::xmlerror [private]

Definition at line 168 of file ulxr_except.h.


The documentation for this class was generated from the following files:
Generated on Sun Aug 19 20:09:03 2007 for ulxmlrpcpp by  doxygen 1.5.1