public class JavaScriptException extends RhinoException
Constructor and Description |
---|
JavaScriptException(Object value)
Deprecated.
Use
WrappedException.WrappedException(Throwable) to report
exceptions in Java code. |
JavaScriptException(Object value,
String sourceName,
int lineNumber)
Create a JavaScript exception wrapping the given JavaScript value
|
Modifier and Type | Method and Description |
---|---|
String |
details() |
int |
getLineNumber()
Deprecated.
Use
RhinoException.lineNumber() from the super class. |
String |
getSourceName()
Deprecated.
Use
RhinoException.sourceName() from the super class. |
Object |
getValue() |
columnNumber, getMessage, getScriptStack, getScriptStack, getScriptStackTrace, getScriptStackTrace, getScriptStackTrace, getStackStyle, initColumnNumber, initLineNumber, initLineSource, initSourceName, lineNumber, lineSource, printStackTrace, printStackTrace, setStackStyle, sourceName, useMozillaStackStyle, usesMozillaStackStyle
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
@Deprecated public JavaScriptException(Object value)
WrappedException.WrappedException(Throwable)
to report
exceptions in Java code.public String details()
details
in class RhinoException
public Object getValue()
@Deprecated public String getSourceName()
RhinoException.sourceName()
from the super class.@Deprecated public int getLineNumber()
RhinoException.lineNumber()
from the super class.Copyright © 2010 - 2020 Adobe. All Rights Reserved