|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpnuts.lang.PnutsException.TraceInfo
public static class PnutsException.TraceInfo
A node of a call-chain, which represents a position of a certain function call
| Constructor Summary | |
|---|---|
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 |
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 column
public 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 column| Method Detail |
|---|
public 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||