| Previous Contents Index Next |
| Core JavaScript Reference 1.5 |
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:
Constructor
Description
JSException
Deprecated constructors optionally let you specify a detail message and other information.
Method Summary
The netscape.javascript.JSException class has the following methods:
Method
Description
getWrappedException
getWrappedExceptionType
Instance method getWrappedExceptionType returns the int mapping of the type of the wrappedException object.
The following sections show the declaration and usage of the constructors and method.
JavaScript 1.1 through 1.3. JSException had three public constructors which optionally took a string argument, specifying the detail message or other information for the exception. The getWrappedException method was not available.
Constructors, deprecated in JavaScript 1.4. Constructs a JSException with an optional detail message.
Declaration
1. public JSException()2. public JSException(String s)
3. public JSException(String s,
String filename,
int lineno,
String source,
int tokenIndex)
s
filename
lineno
source
tokenIndex
Instance method getWrappedException.
Declaration
public Object getWrappedException()
Description
getWrappedException() returns an object that represents the value that the JavaScript actually threw. JavaScript can throw any type of value. Use getWrappedException() to determine what kind of value the Object return type represents.
Instance method getWrappedExceptionType.
Declaration
public int getWrappedExceptionType()
Description
getWrappedExceptionType() returns an int that matches one of the following static ints declared by the JSException class:
Previous Contents Index Next
Copyright © 2000 Netscape Communications Corp. All rights reserved.
Last Updated September 28, 2000
TH |
TH2 |
TH3 |
TH4 |
TH5 |
TH6 |
TH7 |
TH8 |
TH9
Javajerka Carcasherdotcom-Seocontest
| Javajerka Contest 1
| Contest 2
TH Carcasherdotcom
|
Jerkasmarknad-Carcasherdotcom-Seocontest-html
| Contest
carcasherdotcomseocontest.jerkasmarknad.com
| carcasherdotcom-seocontest.jerkasmarknad.com
carcasherdotcom seocontest
| carcasherdotcom-seocontest
| carcasherdotcom_seocontest
| MSN Carcasherdotcom Seocontest
index jerkasmarknad
| javajerka
| jerspa
| jerka1950
| cultur25
| sweden
| submitforce
| hurricane
| nostalgipalatset
| smarterlinks
| violin.htm
jerkasmarknad
| links
| MSN Jerkasmarknad
| jerkasmarknad/links
| jerkasmarknad/jerkasmarknad
| MSN Jerka2006
| jerka2006/jerkasmarknad
jerka2006/kultursidan
| jerka2006/cultur25
| jerka2006/links
| search
| submitforce
| contactform
| sculpture
| watercolour
| acryl
| oilpicture
| photo
teaterdekor
| parkteatern (intern)
| violin
| violoncell
| woodbottle
| deadheads
| home news
| seavirgin
| djurgarden
| submitforce
| vildblomma
photography
| portal
| blog
| cncat links
| news online
| market
| submitforce
| radio
| violin jm
| view source
| vildblomma Index
| art
javascript jerkasmarknad
| javascript javajerka
| javascript jerka1950
| javascript cultur25
| javascript jerspa
| toys
| serial
| sitemap
ingmar bergman
| kista tower
| deadheads
| leksaker
| smarterlinks
| wood
| jerka
| sweden
| info
| violin 2
| contact form
Copyright 2006 Jerkasmarknad. All rights reserved. This material may not be published broadcast, rewritten, or redistributed.