Base class for all streaming exceptions. More...
#include <GUIStreamingException.h>
Public Member Functions | |
CGUIStreamingException (const CGUIStreamingException &kSource) | |
CGUIStreamingException (const eC_String &kStreamingFilePath, eC_UInt uiLineNo, const eC_String &kExpectedTag="", const eC_String &kActualTag="") | |
~CGUIStreamingException () | |
CGUIStreamingException & | operator= (const CGUIStreamingException &kSource) |
virtual eC_String | Report () const |
void | SetLineNo (const eC_UInt uiLine) |
void | SetStreamingFilePath (const eC_String &kPath) |
![]() | |
CGUIException () | |
virtual | ~CGUIException () |
virtual eC_String | Report () const |
Protected Member Functions | |
eC_String | ReportCommonMessage () const |
Base class for all streaming exceptions.
Has attributes to store a filename, expected tag, read tag and line number.
CGUIStreamingException::CGUIStreamingException | ( | const eC_String & | kStreamingFilePath, |
eC_UInt | uiLineNo, | ||
const eC_String & | kExpectedTag = "" , |
||
const eC_String & | kActualTag = "" |
||
) |
Constructor.
kStreamingFilePath | The streaming file path. If unknown at construction time, it can be set later (see SetStreamingFilePath()). |
uiLineNo | The line in the streaming file where the error occurred. |
kExpectedTag | The expected tag that should have been read. |
kActualTag | The tag that actually was read from the file. |
CGUIStreamingException::~CGUIStreamingException | ( | ) |
Destructor.
CGUIStreamingException::CGUIStreamingException | ( | const CGUIStreamingException & | kSource | ) |
Copy-constructor.
kSource | Source object to be copied. |
CGUIStreamingException & CGUIStreamingException::operator= | ( | const CGUIStreamingException & | kSource | ) |
Operator= method.
kSource | Source object to be copied. |
|
virtual |
Report the message of the exception.
Reimplemented from CGUIException.
|
protected |
Report the common message about the streaming exception.
|
inline |
Set the line number in which the exception occurred.
uiLine |
|
inline |
Set the path which was read while the exception occurred.
kPath |