|
IcedTea-Web Plugin |
|||||||||
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
JSException is an exception which is thrown when JavaScript code returns an error.
Field Summary | |
---|---|
static int |
EXCEPTION_TYPE_BOOLEAN
|
static int |
EXCEPTION_TYPE_EMPTY
|
static int |
EXCEPTION_TYPE_ERROR
|
static int |
EXCEPTION_TYPE_FUNCTION
|
static int |
EXCEPTION_TYPE_NUMBER
|
static int |
EXCEPTION_TYPE_OBJECT
|
static int |
EXCEPTION_TYPE_STRING
|
static int |
EXCEPTION_TYPE_VOID
|
java.lang.String |
filename
|
int |
lineno
|
java.lang.String |
source
|
int |
tokenIndex
|
java.lang.Object |
wrappedException
|
int |
wrappedExceptionType
|
Constructor Summary | |
---|---|
JSException()
Deprecated. Not for public use in future versions. |
|
JSException(int wrappedExceptionType,
java.lang.Object wrappedException)
Constructs a JSException with a wrapped JavaScript exception object. |
|
JSException(java.lang.String s)
Deprecated. Not for public use in future versions. |
|
JSException(java.lang.String s,
java.lang.String filename,
int lineno,
java.lang.String source,
int tokenIndex)
Deprecated. Not for public use in future versions. |
Method Summary | |
---|---|
java.lang.Object |
getWrappedException()
Instance method getWrappedException. |
int |
getWrappedExceptionType()
Instance method getWrappedExceptionType returns the int mapping of the type of the wrappedException Object. |
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
public java.lang.String filename
public int lineno
public java.lang.String source
public int tokenIndex
public int wrappedExceptionType
public java.lang.Object wrappedException
Constructor Detail |
---|
@Deprecated public JSException()
@Deprecated public JSException(java.lang.String s)
s
- the detail messagepublic JSException(int wrappedExceptionType, java.lang.Object wrappedException)
@Deprecated public JSException(java.lang.String s, java.lang.String filename, int lineno, java.lang.String source, int tokenIndex)
s
- the detail messageMethod Detail |
---|
public int getWrappedExceptionType()
public java.lang.Object getWrappedException()
|
IcedTea-Web Plugin |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |