JSException
extends RuntimeException
.
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----netscape.javascript.JSException
JSException
is an exception which is thrown when JavaScript code returns an error.
netscape.javascript.JSException
class has the following constructors:
Constructor |
Description
Deprecated constructors optionally let you specify a detail message and other information. |
---|
netscape.javascript.JSException
class has the following method:
Method |
Description
| |
---|
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.
JSException
with an optional detail message.
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 |
getWrappedException
.
public Object getWrappedException()
Last Updated: 10/29/98 20:17:49