CJavaError Class Reference

class CJavaError : public CBase

This class implements the interface for a MJavaError object, which contains an error code and a description of the error if one exists.

Since
1.0

Inherits from

Constructor & Destructor Documentation

CJavaError()

CJavaError()[protected]

Ctor.

Since
1.0

~CJavaError()

~CJavaError()[virtual]

Destructor

Member Functions Documentation

ConstructL(CSvgErrorImpl &)

voidConstructL(CSvgErrorImpl &aError)[protected]

Second phase of constructor

Since
1.0

Parameters

CSvgErrorImpl & aError

Description()

TDesC8 &Description()[virtual]

Get the error description string for this object.

Since
1.0

ErrorCode()

TInt ErrorCode()const [virtual]

Get the error code contained by this object.

Since
1.0

HasError()

TBool HasError()const [virtual]

Determine wether an error is indicated by this object.

Since
1.0

IsWarning()

TBool IsWarning()const [virtual]

Determine wether an error is only a warning. This should be a state when the svg may be display, despite a conflict.

Since
1.0

NewL(CSvgErrorImpl &)

TInt NewL(CSvgErrorImpl &aError)[static]

Two-phase constructor. Creates an integer 'handle' from C++ object for referencing them inside Java. The shift garauntees a positive integer. Unhanding the integer requires the destination type to be known and bit shifting.

Since
1.0

Parameters

CSvgErrorImpl & aError

Member Data Documentation

HBufC8 * iDescription

HBufC8 *iDescription[private]

TInt iErrorCode

TInt iErrorCode[private]

TBool iIsWarning

TBool iIsWarning[private]