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 |
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 to