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.
Constructor & Destructor Documentation
CJavaError()
CJavaError
|
(
|
)
|
[protected]
|
~CJavaError()
~CJavaError
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL(CSvgErrorImpl &)
void
|
ConstructL
|
(
|
CSvgErrorImpl &
|
aError
|
)
|
[protected]
|
Second phase of constructor
Description()
TDesC8
&
|
Description
|
(
|
)
|
[virtual]
|
Get the error description string for this object.
ErrorCode()
TInt
|
ErrorCode
|
(
|
)
|
const [virtual]
|
Get the error code contained by this object.
HasError()
TBool
|
HasError
|
(
|
)
|
const [virtual]
|
Determine wether an error is indicated by this object.
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.
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.
Member Data Documentation
HBufC8 * iDescription
HBufC8
*
|
iDescription
|
[private]
|
TInt
iErrorCode
TInt
|
iErrorCode
|
[private]
|
TBool
iIsWarning
TBool
|
iIsWarning
|
[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.