CSvgErrorImpl Class Reference
class CSvgErrorImpl : public CBase |
This class implements the interface for a MSvgError object, which contains an error code and a description of the error if one exists.
Constructor & Destructor Documentation
CSvgErrorImpl()
Constructor. The default error code is ESvgNoError and description is "No Error"
~CSvgErrorImpl()
~CSvgErrorImpl | ( | ) | [virtual] |
Member Functions Documentation
AppendDescription(const TDesC &)
void | AppendDescription | ( | const TDesC & | aDescription | ) | |
Append the given text to the existing description .
Parameters
const TDesC & aDescription | : error description string |
ConstructL()
void | ConstructL | ( | ) | [protected] |
Second phase of constructor
Description()
Get the error description string for this object.
ErrorCode()
Get the error code contained by this object.
HasError()
Determine wether an error is indicated by this object.
IsWarning()
Determine wether an error is only a warning. This should be a state when the svg may be display, despite a conflict.
NewL()
Two-phase constructor. The default error code is ESvgNoError and description is "No Error"
NewLC()
Two-phase constructor. The default error code is ESvgNoError and description is "No Error"
SetDescription(const TDesC &)
void | SetDescription | ( | const TDesC & | aDescription | ) | |
Set the error description.
Parameters
const TDesC & aDescription | : error description string |
SetDescription(const TDesC &, const TDesC &)
void | SetDescription | ( | const TDesC & | aText1, |
| const TDesC & | aText2 |
| ) | |
Set the error description.
Parameters
const TDesC & aText1 | : error description string 1 |
const TDesC & aText2 | : error description string 2 |
SetErrorCode(TSvgErrorCode)
SetIsWarning(TBool)
void | SetIsWarning | ( | TBool | aBool | ) | |
Set the flag to indicate the error indicated by this object is only a warning.
SetSystemErrorCode(TInt)
void | SetSystemErrorCode | ( | TInt | aError | ) | |
SystemErrorCode()
Get the error code contained by this object.
Member Data Documentation
HBufC * iDescription
HBufC * | iDescription | [private] |
TBool
iIsWarning
TBool
| iIsWarning | [private] |
TInt
iSystemErrorCode
TInt
| iSystemErrorCode | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.