JSException
extends Exception
.
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----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
| |
---|
JSException
. You specify whether the JSException
has a detail message and other information.
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 |
JSException
with different information:
JSException
without a detail message.JSException
with a detail message.JSException
with a detail message and all the other information that usually comes with a JavaScript error.Last Updated: 11/13/98 10:24:22