public class JavaScriptException extends Exception
Constructor and Description |
---|
JavaScriptException(Object value)
Create a JavaScript exception wrapping the given JavaScript value.
|
Modifier and Type | Method and Description |
---|---|
Object |
getValue()
Get the exception value originally thrown.
|
addSuppressed, fillInStackTrace, getBackingJsObject, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, of, printStackTrace, printStackTrace, setStackTrace, toString
public JavaScriptException(Object value)
value
- the JavaScript value thrown.public Object getValue()
Copyright © 2018. All rights reserved.