JSException
The public classJSException 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
Thenetscape.javascript.JSException class has the following constructors:
| Constructor |
Description
Deprecated constructors optionally let you specify a detail message and other information. |
|---|
Method Summary
Thenetscape.javascript.JSException class has the following method:
| Method |
Description
| |
|---|
Backward Compatibility
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.
JSException
Constructors, deprecated in JavaScript 1.4. Constructs aJSException 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)
Arguments
s | |
filename | |
lineno | |
source | |
tokenIndex |
getWrappedException
Instance methodgetWrappedException.
Declaration
public Object getWrappedException()
Table of Contents | Previous | Next | Index
Last Updated: 10/29/98 20:17:49
