|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
netscape.javascript.JSException
public class JSException
Stub for the JSException. This is part of the Applet LiveConnect simulation. TODO: we have to evaluate if it is possible to use plugin.jar from jdk
| Field Summary | |
|---|---|
static int |
EXCEPTION_TYPE_BOOLEAN
EXCEPTION_TYPE_BOOLEAN = 5. |
static int |
EXCEPTION_TYPE_EMPTY
EXCEPTION_TYPE_EMPTY = -1. |
static int |
EXCEPTION_TYPE_ERROR
EXCEPTION_TYPE_ERROR = 6. |
static int |
EXCEPTION_TYPE_FUNCTION
EXCEPTION_TYPE_FUNCTION = 2. |
static int |
EXCEPTION_TYPE_NUMBER
EXCEPTION_TYPE_NUMBER = 4. |
static int |
EXCEPTION_TYPE_OBJECT
EXCEPTION_TYPE_OBJECT = 1. |
static int |
EXCEPTION_TYPE_STRING
EXCEPTION_TYPE_STRING = 3. |
static int |
EXCEPTION_TYPE_VOID
EXCEPTION_TYPE_VOID = 0. |
| Constructor Summary | |
|---|---|
JSException()
Constructor. |
|
JSException(int exceptionType,
Object exception)
Constructor. |
|
JSException(String message)
Constructor. |
|
JSException(String message,
String filename,
int lineno,
String source,
int tokenIndex)
Constructor. |
|
| Method Summary | |
|---|---|
Object |
getWrappedException()
Returns the wrapped exception. |
int |
getWrappedExceptionType()
Returns the wrapped exception type. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int EXCEPTION_TYPE_EMPTY
public static final int EXCEPTION_TYPE_VOID
public static final int EXCEPTION_TYPE_OBJECT
public static final int EXCEPTION_TYPE_FUNCTION
public static final int EXCEPTION_TYPE_STRING
public static final int EXCEPTION_TYPE_NUMBER
public static final int EXCEPTION_TYPE_BOOLEAN
public static final int EXCEPTION_TYPE_ERROR
| Constructor Detail |
|---|
public JSException()
public JSException(String message)
message - the message
public JSException(String message,
String filename,
int lineno,
String source,
int tokenIndex)
message - the messagefilename - the filenamelineno - the linenosource - the sourcetokenIndex - the tokenIndex
public JSException(int exceptionType,
Object exception)
exceptionType - the exception typeexception - the exception| Method Detail |
|---|
public int getWrappedExceptionType()
public Object getWrappedException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||