SFWException Class Reference

#include <mw/wac/sfwexception.h>

class SFWException
Public Member Functions
SFWException(int, QString)
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 ( )


Exception specification: throw ()

Member Function Documentation

getErrCode ( )


Returns m_errCode

getErrDescription ( )

QString getErrDescription()[inline]

Returns m_errDesc