Search completed in 1.01 seconds.
15 results for "JSException":
JSException - Archive of obsolete content
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
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
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
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
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
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
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
void setdefaultsecuritymanager(in nsixpcsecuritymanager amanager, in pruint16 flags); nsixpcfunctionthistranslator setfunctionthistranslator(in nsiidref aiid, in nsixpcfunctionthistranslator atranslator); void setreportall
jsexceptions(in boolean reportall
jsexceptions); 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 setreportall
jsexceptions() whether or not xpconnect should report all js exceptions when returning from js into c++.
... void setreportall
jsexceptions( in boolean reportall
jsexceptions ); parameters reportall
jsexceptions 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
throw
jsexception: allows throwing a preexisting js exception value.
... however, the mightthrow
jsexception() method must be called before any such exceptions are thrown (even if no exception is thrown).
Index - Archive of obsolete content
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
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-...
JSAPI 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...