public static class PnutsException.TraceInfo
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
PnutsException.TraceInfo() |
|
PnutsException.TraceInfo(java.lang.Object frame,
java.lang.Object[] args,
java.lang.Object scriptSource,
int line,
int column)
Constructor
|
|
PnutsException.TraceInfo(java.lang.Object target,
java.lang.Object methodName,
java.lang.Object[] args,
java.lang.Object scriptSource,
int line,
int column)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
getArguments()
The actual arguments of the function call
|
int |
getColumn()
The column number of the place where the function call was taken place.
|
java.lang.Object |
getFrame()
Gets the callee that throws an exception.
|
int |
getLine()
The line number of the place where the function call was taken place.
|
java.lang.Object |
getScriptSource()
Gets the source of the script where the function call was taken
place.
|
java.lang.Object |
getTargetObject()
Gets the target object of the method call that causes an exception
|
java.lang.String |
toString() |
protected PnutsException.TraceInfo()
public PnutsException.TraceInfo(java.lang.Object frame,
java.lang.Object[] args,
java.lang.Object scriptSource,
int line,
int column)
frame - the function's name or the class of the constructorargs - the argumentsscriptSource - the object from which the script was readline - the linecolumn - the columnpublic PnutsException.TraceInfo(java.lang.Object target,
java.lang.Object methodName,
java.lang.Object[] args,
java.lang.Object scriptSource,
int line,
int column)
target - the target objectmethodName - the method nameargs - the argumentsscriptSource - the object from which the script was readline - the linecolumn - the columnpublic java.lang.Object getScriptSource()
public java.lang.Object[] getArguments()
public int getLine()
public int getColumn()
public java.lang.Object getFrame()
public java.lang.Object getTargetObject()
public java.lang.String toString()
toString in class java.lang.Object