public final class ProtelisRuntimeException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
ProtelisRuntimeException(java.lang.Throwable javaCause,
ProtelisAST<?> origin)
Builds a new
ProtelisRuntimeException, happening due to the specified
Java exception, into the origin node of the Protelis AST. |
| Modifier and Type | Method and Description |
|---|---|
void |
fillInStackFrame(ProtelisAST<?> element)
Populates the exception stack with a new caller.
|
java.lang.String |
getMessage() |
java.lang.String |
getProtelisStacktrace() |
public ProtelisRuntimeException(@Nonnull
java.lang.Throwable javaCause,
ProtelisAST<?> origin)
ProtelisRuntimeException, happening due to the specified
Java exception, into the origin node of the Protelis AST.javaCause - the java Throwable generating the exceptionorigin - the point in the Protelis program in which the Java
exception was thrownpublic void fillInStackFrame(ProtelisAST<?> element)
element - the Protelis node which called the failing onepublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getProtelisStacktrace()