nsIException
Last changed in Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0)void initialize(in string aMessage, in nsresult aResult, in string aName, in nsIStackFrame aLocation, in nsISupports aData, in nsIException aInner); |
xpcexJSVal stealJSVal(); Native code only! |
void stowJSVal(in xpcexJSContextPtr cx, in xpcexJSVal val); Native code only! |
void initialize( in string aMessage, in nsresult aResult, in string aName, in nsIStackFrame aLocation, in nsISupports aData, in nsIException aInner );
aMessage
aResult
aName
aLocation
aData
aInner
xpcexJSVal stealJSVal();
None.
void stowJSVal( in xpcexJSContextPtr cx, in xpcexJSVal val );
cx
val
Components.Exception
is a JavaScript constructor to create nsIXPCException
objects. The call signature of the constructor is:
Components.Exception(message, result, stack, data, inner)
all parameters are optional and the appropriate placeholder is 'unknown'.
Components.results.NS_ERROR_FAILURE
)