public final class ScriptStackElement
extends java.lang.Object
implements java.io.Serializable
RhinoException.getScriptStack()
,
Serialized FormModifier and Type | Field and Description |
---|---|
java.lang.String |
fileName |
java.lang.String |
functionName |
int |
lineNumber |
Constructor and Description |
---|
ScriptStackElement(java.lang.String fileName,
java.lang.String functionName,
int lineNumber) |
Modifier and Type | Method and Description |
---|---|
void |
renderJavaStyle(java.lang.StringBuilder sb)
Render stack element in Java-inspired style:
at fileName:lineNumber (functionName) |
void |
renderMozillaStyle(java.lang.StringBuilder sb)
Render stack element in Mozilla/Firefox style:
functionName()@fileName:lineNumber |
void |
renderV8Style(java.lang.StringBuilder sb)
Render stack element in V8 style:
at functionName (fileName:lineNumber:columnNumber)
or:
at fileName:lineNumber:columnNumber |
java.lang.String |
toString() |
public final java.lang.String fileName
public final java.lang.String functionName
public final int lineNumber
public ScriptStackElement(java.lang.String fileName, java.lang.String functionName, int lineNumber)
public java.lang.String toString()
toString
in class java.lang.Object
public void renderJavaStyle(java.lang.StringBuilder sb)
at fileName:lineNumber (functionName)
sb
- the StringBuilder to append topublic void renderMozillaStyle(java.lang.StringBuilder sb)
functionName()@fileName:lineNumber
sb
- the StringBuilder to append topublic void renderV8Style(java.lang.StringBuilder sb)
at functionName (fileName:lineNumber:columnNumber)
or:
at fileName:lineNumber:columnNumber
sb
- the StringBuilder to append toCopyright © 2010 - 2020 Adobe. All Rights Reserved