SFWException Class Reference

#include <mw/wac/sfwexception.h>

class SFWException
Public Member Functions
SFWException(int, QString)
~SFWException()
intgetErrCode()
QString getErrDescription()

Detailed Description

SFW exception class. Service providers throw an object of this class to the binding layer when an error happens in running of one of their methods. The exception is caught in binding layer. In windows an exception is thrown to JS by calling NPN_SetException. Also information about last error are set by setLastErrCode, setLastErrDesc in binding layer to provider information for JS layer in case the platform does not support exception.

Constructor & Destructor Documentation

SFWException ( int, QString )

SFWException(intaErrCode,
QStringaErrDesc
)[inline]

Constructor

~SFWException ( )

~SFWException()[inline]

Exception specification: throw ()

Member Function Documentation

getErrCode ( )

intgetErrCode()[inline]

Returns m_errCode

getErrDescription ( )

QString getErrDescription()[inline]

Returns m_errDesc