APIdia Launch Partner
Top Description Fields Constructors
netscape.javascript

public Class JSException

extends RuntimeException
Class Inheritance

Thrown when an exception is raised in the JavaScript engine. This is merely a marker class to indicate an exception relating to the JavaScript interface.
Since
1.5

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
JSException()

Constructs a new JavaScript exception with null as it's detail message.

public
JSException(String
The detail message
s
)

Construct a new JavaScript exception with the specified detail message.

public
JSException(Throwable
Throwable cause
t
)

Construct a new JavaScript exception with the specified cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

JSExceptionback to summary
public JSException()

Constructs a new JavaScript exception with null as it's detail message.

JSExceptionback to summary
public JSException(String s)

Construct a new JavaScript exception with the specified detail message.

Parameters
s:String

The detail message

JSExceptionback to summary
public JSException(Throwable t)

Construct a new JavaScript exception with the specified cause.

Parameters
t:Throwable

Throwable cause