|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--org.mozilla.javascript.JavaScriptException
Java reflection of JavaScript exceptions. (Possibly wrapping a Java exception.)
Constructor Summary | |
JavaScriptException(java.lang.Object value)
Create a JavaScript exception wrapping the given JavaScript value. |
Method Summary | |
java.lang.String |
getMessage()
Get the exception message. |
java.lang.Object |
getValue()
Get the exception value originally thrown. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public JavaScriptException(java.lang.Object value)
value
- the JavaScript value thrown.Method Detail |
public java.lang.String getMessage()
Will just convert the wrapped exception to a string.
public java.lang.Object getValue()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |