public class MiniPython.ExecutionError extends Exception
Modifier and Type | Method and Description |
---|---|
String |
getType()
Returns the type of the error.
|
int |
linenumber()
Returns the line number which was being executed when the error
happened.
|
int |
pc()
Returns program counter when error occurred.
|
String |
toDetailedString()
Returns more detailed than toString (eg includes linenumber and pc).
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public String toDetailedString()
public String getType()
public int linenumber()
public int pc()