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, getScriptStackTrace, getScriptStackTrace, initColumnNumber, initLineNumber, initLineSource, initSourceName, lineNumber, lineSource, printStackTrace, printStackTrace, sourceNameaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringpublic JavaScriptException(Object value)
WrappedException.WrappedException(Throwable) to report
exceptions in Java code.public String details()
details in class RhinoExceptionpublic Object getValue()
public String getSourceName()
RhinoException.sourceName() from the super class.public int getLineNumber()
RhinoException.lineNumber() from the super class.Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.