#include <mw/wac/sfwexception.h>
class SFWException |
Public Member Functions | |
---|---|
SFWException(int, QString) | |
~SFWException() | |
int | getErrCode() |
QString | getErrDescription() |
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.