Search completed in 1.01 seconds.
15 results for "JSException":
JSException - Archive of obsolete content
ArchiveWebLiveConnectLiveConnect ReferenceJSException
summary the public class jsexception extends runtimeexception java.lang.object | +----java.lang.throwable | +----java.lang.exception | +----java.lang.runtimeexception | +----netscape.javascript.jsexception description jsexception is an exception which is thrown when javascript code returns an error.
... constructor summary the netscape.javascript.jsexception class has the following constructors: jsexception deprecated constructors optionally let you specify a detail message and other information.
... method summary the netscape.javascript.jsexception class has the following methods: getwrappedexception instance method getwrappedexception.
...And 6 more matches
JSExceptionState
MozillaProjectsSpiderMonkeyJSAPI referenceJSExceptionState
syntax struct jsexceptionstate; description a jsexceptionstate object is returned by the js_saveexceptionstate function, and is passed to functions js_restoreexceptionstate and js_dropexceptionstate.
... see also mxr id search for jsexceptionstate js_saveexceptionstate js_restoreexceptionstate js_dropexceptionstate ...
LiveConnect Overview - Archive of obsolete content
ArchiveWebLiveConnectLiveConnect Overview
netscape.javascript.jsexception allows java code to handle javascript errors.
...also, any time you use javascript objects in your java code, you should put the call to the javascript object inside a try...catch statement which handles exceptions of type netscape.javascript.jsexception.
... this allows your java code to handle errors in javascript code execution which appear in java as exceptions of type jsexception.
...And 13 more matches
Index
MozillaProjectsSpiderMonkeyIndex
99 jsexceptionstate jsapi reference, spidermonkey a jsexceptionstate object is returned by the js_saveexceptionstate function, and is passed to functions js_restoreexceptionstate and js_dropexceptionstate.
... 247 js_dropexceptionstate jsapi reference, spidermonkey this function destroys the specified jsexceptionstate object, unrooting as necessary any attached exception object and freeing the memory resources associated with the jsexceptionstate object.
... 438 js_restoreexceptionstate jsapi reference, spidermonkey this function permits to restore any previously saved exception state which was saved into a jsexceptionstate object created by the js_saveexceptionstate function.
...And 2 more matches
JS_DropExceptionState
MozillaProjectsSpiderMonkeyJSAPI referenceJS DropExceptionState
destroys a jsexceptionstate object previously created using js_saveexceptionstate.
... syntax void js_dropexceptionstate(jscontext *cx, jsexceptionstate *state); name type description cx jscontext * pointer to a js context from which to derive runtime information.
... state jsexceptionstate * pointer to the jsexceptionstate object to destroy.
...And 2 more matches
JS_RestoreExceptionState
MozillaProjectsSpiderMonkeyJSAPI referenceJS RestoreExceptionState
restores the exception state from a jsexceptionstate object previously created using js_saveexceptionstate.
... syntax void js_restoreexceptionstate(jscontext *cx, jsexceptionstate *state); name type description cx jscontext * pointer to a js context from which to derive runtime information.
... state jsexceptionstate * pointer to the jsexceptionstate object to restore exception state from.
...And 2 more matches
JS_SaveExceptionState
MozillaProjectsSpiderMonkeyJSAPI referenceJS SaveExceptionState
syntax jsexceptionstate * js_saveexceptionstate(jscontext *cx); name type description cx jscontext * pointer to a js context from which to derive runtime information.
... description saves the current exception state (that is, any pending exception, or a cleared exception state) associated with the specified context cx, and returns a jsexceptionstate object holding this state.
...either of those two functions frees any memory used by the jsexceptionstate.
...And 2 more matches
nsIXPConnect
MozillaTechXPCOMReferenceInterfacensIXPConnect
void setdefaultsecuritymanager(in nsixpcsecuritymanager amanager, in pruint16 flags); nsixpcfunctionthistranslator setfunctionthistranslator(in nsiidref aiid, in nsixpcfunctionthistranslator atranslator); void setreportalljsexceptions(in boolean reportalljsexceptions); void setsafejscontextforcurrentthread(in jscontextptr cx); void setsecuritymanagerforjscontext(in jscontextptr ajscontext, in nsixpcsecuritymanager amanager, in pruint16 flags); void syncjscontexts(); void updatexows(in jscontextptr ajscontext, in nsixpconnectwrappednative aobject, in pruint32 away); native code only!
...eptions thrown missing exception missing description setfunctionthistranslator() nsixpcfunctionthistranslator setfunctionthistranslator( in nsiidref aiid, in nsixpcfunctionthistranslator atranslator ); parameters aiid missing description atranslator missing description return value missing description exceptions thrown missing exception missing description setreportalljsexceptions() whether or not xpconnect should report all js exceptions when returning from js into c++.
... void setreportalljsexceptions( in boolean reportalljsexceptions ); parameters reportalljsexceptions missing description exceptions thrown missing exception missing description setsafejscontextforcurrentthread() set fallback jscontext to use when xpconnect can't find an appropriate context to use to execute javascript.
WebIDL bindings
MozillaWebIDL bindings
throwjsexception: allows throwing a preexisting js exception value.
... however, the mightthrowjsexception() method must be called before any such exceptions are thrown (even if no exception is thrown).
Index - Archive of obsolete content
ArchiveIndex
2192 jsexception the public class jsexception extends runtimeexception 2193 jsobject the public final class netscape.javascript.jsobject extends object.
Index of archived content - Archive of obsolete content
ArchiveIndex of archived content
e4x tutorial accessing xml children descendants and filters introduction namespaces the global xml object iterator liveconnect liveconnect overview liveconnect reference jsexception jsobject msx emulator (jsmsx) old proxy api parallelarray properly using css and javascript in xhtml documents examples reference server-side javascript back to the server: server-...
LiveConnect Reference - Archive of obsolete content
ArchiveWebLiveConnectLiveConnect Reference
jsexception the public class jsexception extends runtimeexception, and is thrown when javascript returns an error.
JavaPackage - Archive of obsolete content
ArchiveWebLiveConnect ReferenceJavaPackage
for example, the netscape package contains the package netscape.javascript; the netscape.javascript package contains the classes jsobject and jsexception.
Mozilla DOM Hacking Guide
MozillaMozilla DOM Hacking
static nsresult throwjsexception(jscontext *cx, nsresult aresult);: help me!
JSAPI reference
MozillaProjectsSpiderMonkeyJSAPI reference
_is_strict jsreport_is_warning jsreport_is_strict_mode_error the following functions allow c/c++ functions to throw and catch javascript exceptions: js::createerror added in spidermonkey 38 js_isexceptionpending js_getpendingexception js_setpendingexception js_clearpendingexception js_throwstopiteration added in spidermonkey 1.8 js_isstopiteration added in spidermonkey 31 typedef jsexceptionstate js_saveexceptionstate js_restoreexceptionstate js_dropexceptionstate these functions translate errors into exceptions and vice versa: js_reportpendingexception js_errorfromexception js_throwreportederror obsolete since jsapi 29 values and types typedef jsval js::value js::value constructors: js::nullvalue added in spidermonkey 24 js::undefinedvalue added in spiderm...