Re: HELP!!! swt + mozilla (adtional questions)
Christian Biesinger <[email protected]> Fri, 03 Jan 2003 17:28:04 +0000
| Newsgroups | gmane.comp.mozilla.devel.java,gmane.comp.mozilla.devel.embedding,gmane.comp.mozilla.devel.xpcom |
|---|---|
| Message-ID | <[email protected]> |
jml wrote:
> Also, where can I found document for DOMString,
DOMString is the same as AString, I think...
> and what does the "raise
> exception" mean in the XPCOM world -- I mean at the binary level, is it
> a C/C++ exception? Or operating system exception?
From a C++ point of view:
NS_IMETHODIMP nsFoo::Bar() {
return NS_ERROR_FAILURE;
}
So basically, an exception happens (gets thrown) if
NS_FAILED(return_value) is true.
In Javascript, this corresponds to the normal exceptions that the
language provides.
--
Fiat iustitia et pereat mundus.