    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.

##

JSException()
  Constructs a JSException without a detail message.
JSException(String)
  Constructs a JSException with a detail message.
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.

##

JSException

      public JSException()

  Constructs a JSException without a detail message. A detail message is a String that describes this particular exception.

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

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