Class netscape.javascript.JSException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.javascript.JSException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----netscape.javascript.JSException

public class JSException
extends Exception
JSException is an exception which is thrown when JavaScript code returns an error.

Constructor Index

 o JSException()
Constructs a JSException without a detail message.
 o JSException(String)
Constructs a JSException with a detail message.
 o JSException(String, String, int, String, int)
Constructs a JSException with a detail message and all the other info that usually comes with a JavaScript error.

Constructors

 o JSException
  public JSException()
Constructs a JSException without a detail message. A detail message is a String that describes this particular exception.
 o JSException
  public JSException(String s)
Constructs a JSException with a detail message. A detail message is a String that describes this particular exception.
Parameters:
s - the detail message
 o JSException
  public JSException(String s,
                     String filename,
                     int lineno,
                     String source,
                     int tokenIndex)
Constructs a JSException with a detail message and all the other info that usually comes with a JavaScript error.
Parameters:
s - the detail message

All Packages  Class Hierarchy  This Package  Previous  Next  Index